mirror of
https://github.com/tonytins/CozyPixelStudio.git
synced 2025-12-19 02:14:42 -05:00
Renamed "Base" to "BaseTool" and made it a class
This commit is contained in:
parent
dc469dd4b5
commit
ce7320ad4f
17 changed files with 47 additions and 40 deletions
|
|
@ -37,7 +37,7 @@ func transparency(value :float) -> void:
|
|||
OS.window_per_pixel_transparency_enabled = true
|
||||
get_parent().transparent_bg = true
|
||||
get_tree().get_root().set_transparent_background(true)
|
||||
|
||||
|
||||
# this controls opacity 0 for transparent, 1 or a greater value than 1 is opaque
|
||||
# i have set a minimum amount for the fade (We would'nt want the canvas to dissapear now would we?)
|
||||
material.set("shader_param/alpha",clamp(value,0.1,1))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue