File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
core/ui/multi_split_container/taby Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ var style : StyleBox = null
3232
3333var _behaviour_collapsed : int = MAX_COLLAPSED :
3434 set (e ):
35- _behaviour_collapsed = mini (maxi (1 , e ), MAX_COLLAPSED )
35+ _behaviour_collapsed = mini (maxi (0 , e ), MAX_COLLAPSED )
3636
3737func _enter_tree () -> void :
3838 modulate .a = 0.0
@@ -286,13 +286,13 @@ func _on_close(btn : Button) -> void:
286286func _on_gui (event : InputEvent ) -> void :
287287 if event is InputEventMouseButton :
288288 if event .pressed :
289- if event .button_index == MOUSE_BUTTON_WHEEL_UP :
289+ if event .button_index == MOUSE_BUTTON_WHEEL_DOWN :
290290 if _behaviour_collapsed < MAX_COLLAPSED :
291291 _behaviour_collapsed += 1
292292 update ()
293293 get_viewport ().set_input_as_handled ()
294- elif event .button_index == MOUSE_BUTTON_WHEEL_DOWN :
295- if _behaviour_collapsed > 1 :
294+ elif event .button_index == MOUSE_BUTTON_WHEEL_UP :
295+ if _behaviour_collapsed > 0 :
296296 _behaviour_collapsed -= 1
297297 update ()
298298 get_viewport ().set_input_as_handled ()
Original file line number Diff line number Diff line change @@ -4,6 +4,6 @@ name="Script Splitter"
44description =" Tool Addon for godot 4
55Allow split script window."
66author =" Twister"
7- version =" 0.5-DEV-2.5.1 "
7+ version =" 0.5-DEV-2.5.2 "
88github =" https://github.com/CodeNameTwister/Script-Splitter"
99script =" plugin.gd"
You can’t perform that action at this time.
0 commit comments