mirror of
https://github.com/Orama-Interactive/Pixelorama.git
synced 2025-01-31 07:29:49 +00:00
Update tile mode opacity when changed from the preferences, and remove unused variables
This commit is contained in:
parent
c8a69e2913
commit
ffd9d2bca8
|
@ -211,7 +211,10 @@ var checker_follow_scale := false:
|
||||||
set(value):
|
set(value):
|
||||||
checker_follow_scale = value
|
checker_follow_scale = value
|
||||||
transparent_checker.update_rect()
|
transparent_checker.update_rect()
|
||||||
var tilemode_opacity := 1.0
|
var tilemode_opacity := 1.0:
|
||||||
|
set(value):
|
||||||
|
tilemode_opacity = value
|
||||||
|
canvas.tile_mode.queue_redraw()
|
||||||
|
|
||||||
var select_layer_on_button_click := false
|
var select_layer_on_button_click := false
|
||||||
var onion_skinning_past_color := Color.RED:
|
var onion_skinning_past_color := Color.RED:
|
||||||
|
@ -308,15 +311,6 @@ var onion_skinning_past_rate := 1.0
|
||||||
var onion_skinning_future_rate := 1.0
|
var onion_skinning_future_rate := 1.0
|
||||||
var onion_skinning_blue_red := false
|
var onion_skinning_blue_red := false
|
||||||
|
|
||||||
# Palettes
|
|
||||||
var palettes := {}
|
|
||||||
|
|
||||||
# Crop Options:
|
|
||||||
var crop_top := 0
|
|
||||||
var crop_bottom := 0
|
|
||||||
var crop_left := 0
|
|
||||||
var crop_right := 0
|
|
||||||
|
|
||||||
# Nodes
|
# Nodes
|
||||||
var base_layer_button_node: PackedScene = load("res://src/UI/Timeline/BaseLayerButton.tscn")
|
var base_layer_button_node: PackedScene = load("res://src/UI/Timeline/BaseLayerButton.tscn")
|
||||||
var pixel_layer_button_node: PackedScene = load("res://src/UI/Timeline/PixelLayerButton.tscn")
|
var pixel_layer_button_node: PackedScene = load("res://src/UI/Timeline/PixelLayerButton.tscn")
|
||||||
|
|
Loading…
Reference in a new issue