-
-
Notifications
You must be signed in to change notification settings - Fork 397
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Stretch mode and expand mode fixes (#1103)
* Set dynamics dialog to correct size after something is made visible or hidden * fixed aspects of brush buttons * Fixed wrong stretch mode * improved rotation brush UI * Update PaintSelect.tscn * formatting * fix all stretch modes * fix export expand mode * Fix more Stretch modes * Fixed Resize canvas transparent checker * removed an addition The change: 625fe4c is moved over to a new pr * moved some changes to another pr * Moved some more changes to another pr
- Loading branch information
1 parent
d4d5f32
commit b5ded76
Showing
10 changed files
with
32 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,43 @@ | ||
[gd_scene load_steps=4 format=2] | ||
[gd_scene load_steps=4 format=3 uid="uid://bx6xntkb2tstx"] | ||
|
||
[ext_resource path="res://src/UI/Buttons/PatternButton.gd" type="Script" id=2] | ||
[ext_resource type="Script" path="res://src/UI/Buttons/PatternButton.gd" id="2"] | ||
|
||
[sub_resource type="StyleBoxFlat" id=2] | ||
bg_color = Color( 1, 1, 1, 1 ) | ||
border_color = Color( 1, 1, 1, 1 ) | ||
[sub_resource type="StyleBoxFlat" id="1"] | ||
bg_color = Color(1, 1, 1, 1) | ||
border_color = Color(1, 1, 1, 1) | ||
corner_radius_top_left = 5 | ||
corner_radius_top_right = 5 | ||
corner_radius_bottom_right = 5 | ||
corner_radius_bottom_left = 5 | ||
anti_aliasing = false | ||
|
||
[sub_resource type="StyleBoxFlat" id=1] | ||
bg_color = Color( 1, 1, 1, 1 ) | ||
border_color = Color( 1, 1, 1, 1 ) | ||
[sub_resource type="StyleBoxFlat" id="2"] | ||
bg_color = Color(1, 1, 1, 1) | ||
border_color = Color(1, 1, 1, 1) | ||
corner_radius_top_left = 5 | ||
corner_radius_top_right = 5 | ||
corner_radius_bottom_right = 5 | ||
corner_radius_bottom_left = 5 | ||
anti_aliasing = false | ||
|
||
[node name="PatternButton" type="Button"] | ||
custom_minimum_size = Vector2(32, 32) | ||
offset_right = 32.0 | ||
offset_bottom = 32.0 | ||
custom_minimum_size = Vector2( 32, 32 ) | ||
theme_override_styles/hover = SubResource( 2 ) | ||
theme_override_styles/pressed = SubResource( 2 ) | ||
theme_override_styles/focus = SubResource( 1 ) | ||
theme_override_styles/disabled = SubResource( 1 ) | ||
theme_override_styles/normal = SubResource( 2 ) | ||
theme_override_styles/focus = SubResource("1") | ||
theme_override_styles/disabled = SubResource("1") | ||
theme_override_styles/hover = SubResource("2") | ||
theme_override_styles/pressed = SubResource("2") | ||
theme_override_styles/normal = SubResource("2") | ||
button_mask = 7 | ||
script = ExtResource( 2 ) | ||
script = ExtResource("2") | ||
|
||
[node name="PatternTexture" type="TextureRect" parent="."] | ||
custom_minimum_size = Vector2(32, 32) | ||
layout_mode = 0 | ||
offset_right = 32.0 | ||
offset_bottom = 32.0 | ||
custom_minimum_size = Vector2( 32, 32 ) | ||
expand = true | ||
stretch_mode = 6 | ||
__meta__ = { | ||
"_edit_use_anchors_": false | ||
} | ||
expand_mode = 1 | ||
stretch_mode = 5 | ||
|
||
[connection signal="pressed" from="." to="." method="_on_PatternButton_pressed"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters