Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
dsrw committed Jun 28, 2024
1 parent 1060752 commit 7ddf621
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/Settings.tscn
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ focus_mode = 0
theme_type_variation = "MonoButton"
text = " ↓ "

[node name="Label5" type="Label" parent="Window/MainContainer/RowContainer/SettingsContainer"]
[node name="FullScreenLabel" type="Label" parent="Window/MainContainer/RowContainer/SettingsContainer"]
margin_top = 190.0
margin_right = 160.0
margin_bottom = 227.0
Expand Down
3 changes: 3 additions & 0 deletions src/ui/settings.nim
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ gdobj Settings of PanelContainer:
state: WindowState

proc update_values() =
find("FullScreenLabel", Label).visible = host_os != "ios"
self.full_screen.visible = host_os != "ios"

self.megapixels.text = \"{state.config.megapixels:.2f}"
self.font_size.text = $state.config.font_size
self.toolbar_size.text = $int(state.config.toolbar_size)
Expand Down

0 comments on commit 7ddf621

Please sign in to comment.