Fuckin' nevermind I guess
This commit is contained in:
parent
e7c98195c5
commit
e551af28cd
1 changed files with 6 additions and 14 deletions
|
@ -58,27 +58,22 @@ func _ready() -> void:
|
|||
set_region_view()
|
||||
)
|
||||
link_pos_to_callable_e(region_pos, func(_val: int):
|
||||
if ts_dont_change_internal or fuck_you_godot_signals:
|
||||
fuck_you_godot_signals -= 1
|
||||
return
|
||||
if ts_dont_change_internal: return
|
||||
set_property_on_current_frame("pos", get_vector(region_pos))
|
||||
set_region_view()
|
||||
set_frames_tree()
|
||||
)
|
||||
link_pos_to_callable_e(region_size, func(_val: int):
|
||||
if ts_dont_change_internal or fuck_you_godot_signals:
|
||||
fuck_you_godot_signals -= 1
|
||||
return
|
||||
print("test size", ts_dont_change_internal)
|
||||
if ts_dont_change_internal: return
|
||||
set_property_on_current_frame("size", get_vector(region_size))
|
||||
set_region_view()
|
||||
update_current_frame_child()
|
||||
set_frames_tree()
|
||||
)
|
||||
link_pos_to_callable_e(sprite_offset, func(_val: int):
|
||||
if ts_dont_change_internal or fuck_you_godot_signals:
|
||||
fuck_you_godot_signals -= 1
|
||||
return
|
||||
if ts_dont_change_internal: return
|
||||
set_property_on_current_frame("frame_pos", get_vector(sprite_offset))
|
||||
set_region_view()
|
||||
set_frames_tree()
|
||||
)
|
||||
|
||||
var rs_autocrop:Button = region_size.get_node("autocrop")
|
||||
|
@ -217,9 +212,6 @@ func link_range_to_callable(obj:BoxContainer, callable:Callable, value) -> void:
|
|||
func set_vector(obj:BoxContainer, vector:Vector2) -> void:
|
||||
var x:Range = obj.get_node("value_w")
|
||||
var y:Range = obj.get_node("value_h")
|
||||
fuck_you_godot_signals = 3
|
||||
x.set_value_no_signal(vector.x)
|
||||
y.set_value_no_signal(vector.y)
|
||||
x.set_value_no_signal(vector.x)
|
||||
y.set_value_no_signal(vector.y)
|
||||
|
||||
|
|
Loading…
Reference in a new issue