mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-02-12 08:43:08 +00:00
Compare commits
No commits in common. "1dce3ebe22a80833a3797469310d8beb534237ce" and "a7cf93d1e533f64720149a30cf413e1bed3cba67" have entirely different histories.
1dce3ebe22
...
a7cf93d1e5
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,7 +2,6 @@
|
||||||
# Godot-specific ignores
|
# Godot-specific ignores
|
||||||
.import/
|
.import/
|
||||||
.godot/
|
.godot/
|
||||||
override.cfg
|
|
||||||
|
|
||||||
# Imported translations (automatically generated from CSV files)
|
# Imported translations (automatically generated from CSV files)
|
||||||
*.translation
|
*.translation
|
||||||
|
|
|
@ -174,7 +174,7 @@ var single_window_mode := true:
|
||||||
if OS.has_feature("editor"):
|
if OS.has_feature("editor"):
|
||||||
return
|
return
|
||||||
ProjectSettings.set_setting("display/window/subwindows/embed_subwindows", value)
|
ProjectSettings.set_setting("display/window/subwindows/embed_subwindows", value)
|
||||||
ProjectSettings.save_custom(root_directory.path_join(OVERRIDE_FILE))
|
ProjectSettings.save_custom(OVERRIDE_FILE)
|
||||||
## Found in Preferences. The modulation color (or simply color) of icons.
|
## Found in Preferences. The modulation color (or simply color) of icons.
|
||||||
var modulate_icon_color := Color.GRAY
|
var modulate_icon_color := Color.GRAY
|
||||||
## Found in Preferences. Determines if [member modulate_icon_color] uses custom or theme color.
|
## Found in Preferences. Determines if [member modulate_icon_color] uses custom or theme color.
|
||||||
|
@ -379,7 +379,7 @@ var tablet_driver := 0:
|
||||||
return
|
return
|
||||||
var tablet_driver_name := DisplayServer.tablet_get_current_driver()
|
var tablet_driver_name := DisplayServer.tablet_get_current_driver()
|
||||||
ProjectSettings.set_setting("display/window/tablet_driver", tablet_driver_name)
|
ProjectSettings.set_setting("display/window/tablet_driver", tablet_driver_name)
|
||||||
ProjectSettings.save_custom(root_directory.path_join(OVERRIDE_FILE))
|
ProjectSettings.save_custom(OVERRIDE_FILE)
|
||||||
|
|
||||||
# Tools & options
|
# Tools & options
|
||||||
## Found in Preferences. If [code]true[/code], the cursor's left tool icon is visible.
|
## Found in Preferences. If [code]true[/code], the cursor's left tool icon is visible.
|
||||||
|
@ -816,7 +816,7 @@ func _renderer_changed(value: int) -> void:
|
||||||
# ProjectSettings.set_initial_value("rendering/quality/driver/driver_name", "GLES2")
|
# ProjectSettings.set_initial_value("rendering/quality/driver/driver_name", "GLES2")
|
||||||
# var renderer_name := OS.get_video_driver_name(renderer)
|
# var renderer_name := OS.get_video_driver_name(renderer)
|
||||||
# ProjectSettings.set_setting("rendering/quality/driver/driver_name", renderer_name)
|
# ProjectSettings.set_setting("rendering/quality/driver/driver_name", renderer_name)
|
||||||
# ProjectSettings.save_custom(root_directory.path_join(OVERRIDE_FILE))
|
# ProjectSettings.save_custom(OVERRIDE_FILE)
|
||||||
|
|
||||||
|
|
||||||
## Use this to prepare Pixelorama before opening a dialog.
|
## Use this to prepare Pixelorama before opening a dialog.
|
||||||
|
|
|
@ -45,10 +45,10 @@ func update_transparency(value: float) -> void:
|
||||||
# Change the transparency status of the parent viewport and the root viewport
|
# Change the transparency status of the parent viewport and the root viewport
|
||||||
if value == 1.0:
|
if value == 1.0:
|
||||||
get_parent().transparent_bg = false
|
get_parent().transparent_bg = false
|
||||||
get_window().transparent_bg = false
|
get_tree().get_root().transparent_bg = false
|
||||||
else:
|
else:
|
||||||
get_parent().transparent_bg = true
|
get_parent().transparent_bg = true
|
||||||
get_window().transparent_bg = true
|
get_tree().get_root().transparent_bg = true
|
||||||
|
|
||||||
# Set a minimum amount for the fade so the canvas won't disappear
|
# Set a minimum amount for the fade so the canvas won't disappear
|
||||||
material.set_shader_parameter("alpha", clampf(value, 0.1, 1))
|
material.set_shader_parameter("alpha", clampf(value, 0.1, 1))
|
||||||
|
|
Loading…
Reference in a new issue