The character, crafting, spellbook and talent windows will properly ignore the mouse now.

This commit is contained in:
Relintai 2020-10-19 12:39:09 +02:00
parent c154b678af
commit 901c275912
5 changed files with 9 additions and 0 deletions

View File

@ -256,8 +256,10 @@ margin_bottom = 26.5702
rect_min_size = Vector2( 30, 20 ) rect_min_size = Vector2( 30, 20 )
[node name="ItemTooltip" parent="." instance=ExtResource( 5 )] [node name="ItemTooltip" parent="." instance=ExtResource( 5 )]
toplevel = false
margin_left = 4.0 margin_left = 4.0
margin_top = 4.0 margin_top = 4.0
margin_right = 299.0 margin_right = 299.0
margin_bottom = 227.0 margin_bottom = 227.0
[connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainer/CloseButton" to="." method="hide"] [connection signal="pressed" from="PanelContainer/VBoxContainer/HBoxContainer/CloseButton" to="." method="hide"]

View File

@ -381,4 +381,5 @@ margin_top = 1051.0
margin_right = 204.0 margin_right = 204.0
margin_bottom = 1066.0 margin_bottom = 1066.0
stat_name = "Weapon Damage Max" stat_name = "Weapon Damage Max"
[connection signal="pressed" from="Panel/VBoxContainer/HBoxContainer/Button" to="." method="_on_Button_pressed"] [connection signal="pressed" from="Panel/VBoxContainer/HBoxContainer/Button" to="." method="_on_Button_pressed"]

View File

@ -11,6 +11,7 @@
[node name="CraftingWindow" type="Control"] [node name="CraftingWindow" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 1 ) theme = ExtResource( 1 )
script = ExtResource( 2 ) script = ExtResource( 2 )
__meta__ = { __meta__ = {
@ -307,6 +308,7 @@ margin_bottom = 234.0
text = "No recipes" text = "No recipes"
align = 1 align = 1
valign = 1 valign = 1
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/Button" to="." method="hide"] [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/Button" to="." method="hide"]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Categories/HBoxContainer2/Alchemy" to="." method="set_category" binds= [ 1 ]] [connection signal="pressed" from="PanelContainer/VBoxContainer/Categories/HBoxContainer2/Alchemy" to="." method="set_category" binds= [ 1 ]]
[connection signal="pressed" from="PanelContainer/VBoxContainer/Categories/HBoxContainer2/Smithing" to="." method="set_category" binds= [ 2 ]] [connection signal="pressed" from="PanelContainer/VBoxContainer/Categories/HBoxContainer2/Smithing" to="." method="set_category" binds= [ 2 ]]

View File

@ -7,6 +7,7 @@
[node name="SpellBookWindow" type="Control"] [node name="SpellBookWindow" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 1 ) theme = ExtResource( 1 )
script = ExtResource( 2 ) script = ExtResource( 2 )
__meta__ = { __meta__ = {
@ -173,4 +174,5 @@ margin_bottom = 26.5702
size_flags_horizontal = 3 size_flags_horizontal = 3
size_flags_vertical = 3 size_flags_vertical = 3
text = "Next page >" text = "Next page >"
[connection signal="pressed" from="PanelContainer/PagedContent/Header/Button" to="." method="hide"] [connection signal="pressed" from="PanelContainer/PagedContent/Header/Button" to="." method="hide"]

View File

@ -8,6 +8,7 @@
[node name="TalentWindow" type="Control"] [node name="TalentWindow" type="Control"]
anchor_right = 1.0 anchor_right = 1.0
anchor_bottom = 1.0 anchor_bottom = 1.0
mouse_filter = 2
theme = ExtResource( 1 ) theme = ExtResource( 1 )
script = ExtResource( 3 ) script = ExtResource( 3 )
spec_scene = ExtResource( 2 ) spec_scene = ExtResource( 2 )
@ -112,4 +113,5 @@ size_flags_vertical = 3
__meta__ = { __meta__ = {
"_edit_use_anchors_": false "_edit_use_anchors_": false
} }
[connection signal="pressed" from="PanelContainer/VBoxContainer/Header/Button" to="." method="hide"] [connection signal="pressed" from="PanelContainer/VBoxContainer/Header/Button" to="." method="hide"]