1
0
Fork 0
mirror of https://github.com/Orama-Interactive/Pixelorama.git synced 2025-01-30 23:19:49 +00:00

Update tile mode opacity when changed from the preferences, and remove unused variables

This commit is contained in:
Emmanouil Papadeas 2023-11-08 19:01:31 +02:00
parent c8a69e2913
commit ffd9d2bca8

View file

@ -211,7 +211,10 @@ var checker_follow_scale := false:
set(value):
checker_follow_scale = value
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 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_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
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")