1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-31 07:29:49 +00:00

Disable per pixel transparency for OSX

As a temporary workaround for #491
This commit is contained in:
Manolis Papadeas 2021-08-24 17:34:58 +03:00
parent b74e119fab
commit 180c775b72
2 changed files with 3 additions and 1 deletions

View file

@ -179,6 +179,8 @@ window/per_pixel_transparency/allowed=true
window/per_pixel_transparency/enabled=true
window/per_pixel_transparency/allowed.HTML5=false
window/per_pixel_transparency/enabled.HTML5=false
window/per_pixel_transparency/allowed.OSX=false
window/per_pixel_transparency/enabled.OSX=false
[importer_defaults]

View file

@ -126,7 +126,7 @@ func setup_view_menu() -> void:
view_menu.set_item_checked(ViewMenuId.SHOW_ANIMATION_TIMELINE, true)
view_menu.hide_on_checkable_item_selection = false
view_menu.connect("id_pressed", self, "view_menu_id_pressed")
if OS.get_name() == "HTML5":
if !ProjectSettings.get_setting("display/window/per_pixel_transparency/allowed"):
view_menu.set_item_disabled(ViewMenuId.WINDOW_TRANSPARENCY, true)