[gd_scene load_steps=4 format=3 uid="uid://bwrn3rwka2ssa"]

[ext_resource type="Script" path="res://src/Palette/PaletteSwatch.gd" id="1"]
[ext_resource type="Shader" path="res://src/Shaders/TransparentChecker.gdshader" id="2_8xme1"]

[sub_resource type="ShaderMaterial" id="2"]
shader = ExtResource("2_8xme1")
shader_parameter/size = 10.0
shader_parameter/alpha = 1.0
shader_parameter/color1 = Color(0.878431, 0.878431, 0.878431, 1)
shader_parameter/color2 = Color(1, 1, 1, 1)
shader_parameter/offset = Vector2(0, 0)
shader_parameter/scale = Vector2(0.8, 0.8)
shader_parameter/rect_size = Vector2(0, 0)
shader_parameter/follow_movement = false
shader_parameter/follow_scale = true

[node name="PaletteSwatch" type="ColorRect"]
custom_minimum_size = Vector2(8, 8)
anchors_preset = -1
anchor_left = 2.60711e-05
anchor_top = -2.75612e-05
anchor_right = 2.60711e-05
anchor_bottom = -2.75612e-05
offset_left = -0.033371
offset_top = 0.0198441
offset_right = 25.9666
offset_bottom = 26.0198
mouse_filter = 1
mouse_default_cursor_shape = 2
color = Color(0, 0, 0, 0)
script = ExtResource("1")

[node name="TransparentChecker" type="ColorRect" parent="."]
show_behind_parent = true
material = SubResource("2")
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2

[connection signal="gui_input" from="." to="." method="_on_PaletteSlot_gui_input"]
