mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-20 20:43:14 +00:00
Fix window opacity not working after entering fullscreen
This commit is contained in:
parent
f3d7ad395b
commit
2d404dd9ab
2 changed files with 2 additions and 1 deletions
|
@ -5,6 +5,7 @@ onready var spinbox: SpinBox = $HBoxContainer2/SpinBox
|
|||
|
||||
|
||||
func _on_WindowOpacityDialog_about_to_show() -> void:
|
||||
OS.window_per_pixel_transparency_enabled = true
|
||||
hslider.editable = !OS.window_fullscreen
|
||||
spinbox.editable = hslider.editable
|
||||
|
||||
|
|
|
@ -575,7 +575,7 @@ func _toggle_fullscreen() -> void:
|
|||
OS.window_fullscreen = !OS.window_fullscreen
|
||||
window_menu.set_item_checked(Global.WindowMenu.FULLSCREEN_MODE, OS.window_fullscreen)
|
||||
if OS.window_fullscreen: # If window is fullscreen then reset transparency
|
||||
window_opacity_dialog.set_window_opacity(1.0)
|
||||
window_opacity_dialog.set_window_opacity(100.0)
|
||||
|
||||
|
||||
func image_menu_id_pressed(id: int) -> void:
|
||||
|
|
Loading…
Add table
Reference in a new issue