mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-15 21:15:24 +02:00
UI: a switch flips with one click (the first click only selected the row)
Sync git.upriser.nl mirror / sync (push) Skipped
Sync git.upriser.nl mirror / sync (push) Skipped
This commit is contained in:
1 parent
ad3b07097f
commit
b9d14fa4de
2 files changed
+9
-1
No files matched your search
@@ -13,6 +13,7 @@ one per merged pull request.
|
||||
|
||||
- **feat: after the GNOME theme is applied in a GNOME session, the app's done screen has "Restart GNOME" (GNOME Shell on Wayland can't restart in place, and the dock, extensions and Settings panel only show after a new login): with GDM autologin (the SteamOS conversion) Steamify's relogin helper logs the user straight back into the session they were in (without changing the session gaming mode's boot goes back to), else it is a plain logout (`gnome-session-quit`)**
|
||||
- **fix: the app on a desktop (a window, however large, also fullscreen) keeps the desktop's own scale instead of blowing its 1280x720 layout up to the screen's height (twice as big on a 1440p or ultrawide monitor): the layout fills the window at the scale of GNOME or KDE, and only a window smaller than 1280x720 shrinks it. The TV mode (`--fullscreen`, gamescope) still scales to the screen**
|
||||
- **fix: in the app a switch flips with one click (the first click used to only select the row, the second flipped it); the BIOS update and the boot choice still need the row selected first**
|
||||
|
||||
## 2.12.0 - 2026-10-13
|
||||
|
||||
|
||||
+8
-1
@@ -31,7 +31,14 @@ Item {
|
||||
color: row.selected ? Theme.cardSel : Theme.card
|
||||
border.width: row.selected ? 2 : 0; border.color: Theme.accent
|
||||
MouseArea { anchors.fill: parent; cursorShape: Qt.PointingHandCursor
|
||||
onClicked: { Input.type = "keyboard"; if (row.selected) app.act("accept"); else app.sel = row.rowIndex; } }
|
||||
onClicked: {
|
||||
Input.type = "keyboard";
|
||||
var wasSelected = row.selected;
|
||||
app.sel = row.rowIndex;
|
||||
// A switch flips on the first click. The others (the BIOS update, the boot choice) need the row selected
|
||||
// first: a stray click mustn't start a flash.
|
||||
if (wasSelected || row.it.kind === "toggle") app.act("accept");
|
||||
} }
|
||||
|
||||
Text { visible: !!row.it.parent; x: 20; anchors.verticalCenter: parent.verticalCenter; text: "└"; color: "#56627a"; font.pixelSize: 18 }
|
||||
Column {
|
||||
|
||||
Reference in new issue
Block a user