Fix steam tooltips showing when not required
This commit is contained in:
@@ -334,11 +334,13 @@ Kirigami.ApplicationWindow {
|
|||||||
wrapMode: Text.WordWrap
|
wrapMode: Text.WordWrap
|
||||||
text: i18n("Steam information")
|
text: i18n("Steam information")
|
||||||
opacity: steam_info.opacity
|
opacity: steam_info.opacity
|
||||||
|
visible: steam_info.visible
|
||||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
Layout.maximumHeight: root.server_started ? -1 : 0
|
||||||
}
|
}
|
||||||
SteamLaunchOptions {
|
SteamLaunchOptions {
|
||||||
id: steam_info
|
id: steam_info
|
||||||
opacity: root.server_started && WivrnServer.steamCommand != ""
|
visible: WivrnServer.steamCommand != ""
|
||||||
|
opacity: root.server_started
|
||||||
Layout.maximumHeight: root.server_started ? -1 : 0
|
Layout.maximumHeight: root.server_started ? -1 : 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user