diff --git a/scripts/preview_overlay_area/preview_overlay_area.gml b/scripts/preview_overlay_area/preview_overlay_area.gml index 827e7570f..eeb178eca 100644 --- a/scripts/preview_overlay_area/preview_overlay_area.gml +++ b/scripts/preview_overlay_area/preview_overlay_area.gml @@ -60,7 +60,7 @@ function preview_overlay_area_padding(interact, active, _x, _y, _s, _mx, _my, _s if(drag_type) { var _val = [ _r, _t, _l, _b, __at ]; - if(setValue(_val)) UNDO_HOLDING = true; + if(setValueInspector(_val)) UNDO_HOLDING = true; if(mouse_release(mb_left)) { drag_type = 0; @@ -159,7 +159,7 @@ function preview_overlay_area_two_point(interact, active, _x, _y, _s, _mx, _my, var _yy = value_snap(drag_sy + (_my - drag_my) / _s, _sny); _val = [_xx, _yy, _x1, _y1, __at]; - if(setValue(_val)) + if(setValueInspector(_val)) UNDO_HOLDING = true; if(mouse_release(mb_left)) { @@ -171,7 +171,7 @@ function preview_overlay_area_two_point(interact, active, _x, _y, _s, _mx, _my, var _yy = value_snap(drag_sy + (_my - drag_my) / _s, _sny); _val = [_x0, _y0, _xx, _yy, __at]; - if(setValue(_val)) + if(setValueInspector(_val)) UNDO_HOLDING = true; if(mouse_release(mb_left)) { @@ -185,7 +185,7 @@ function preview_overlay_area_two_point(interact, active, _x, _y, _s, _mx, _my, var __y1 = value_snap(_y1 + (__y0 - _y0), _sny); _val = [__x0, __y0, __x1, __y1, __at]; - if(setValue(_val)) + if(setValueInspector(_val)) UNDO_HOLDING = true; if(mouse_release(mb_left)) { @@ -284,7 +284,7 @@ function preview_overlay_area_span(interact, active, _x, _y, _s, _mx, _my, _snx, _val[1] = _yy; } - if(setValue(_val)) + if(setValueInspector(_val)) UNDO_HOLDING = true; if(mouse_release(mb_left)) { @@ -308,7 +308,7 @@ function preview_overlay_area_span(interact, active, _x, _y, _s, _mx, _my, _snx, _val[3] = max(_dx, _dy); } - if(setValue(_val)) + if(setValueInspector(_val)) UNDO_HOLDING = true; if(mouse_release(mb_left)) { diff --git a/scripts/preview_overlay_gradient_range/preview_overlay_gradient_range.gml b/scripts/preview_overlay_gradient_range/preview_overlay_gradient_range.gml index 83c3947f6..8e86e1acf 100644 --- a/scripts/preview_overlay_gradient_range/preview_overlay_gradient_range.gml +++ b/scripts/preview_overlay_gradient_range/preview_overlay_gradient_range.gml @@ -64,7 +64,7 @@ function preview_overlay_gradient_range(interact, active, _x, _y, _s, _mx, _my, _val[(drag_type - 1) * 2 + 0] = _nx / _sw; _val[(drag_type - 1) * 2 + 1] = _ny / _sh; - if(setValue( _val )) + if(setValueInspector( _val )) UNDO_HOLDING = true; if(mouse_release(mb_left)) { diff --git a/scripts/preview_overlay_puppet/preview_overlay_puppet.gml b/scripts/preview_overlay_puppet/preview_overlay_puppet.gml index 028c5c1d4..9958a84e2 100644 --- a/scripts/preview_overlay_puppet/preview_overlay_puppet.gml +++ b/scripts/preview_overlay_puppet/preview_overlay_puppet.gml @@ -164,7 +164,7 @@ function preview_overlay_puppet(interact, active, _x, _y, _s, _mx, _my, _snx, _s } if(drag_type > 0) { - if(setValue( _val )) + if(setValueInspector( _val )) UNDO_HOLDING = true; if(mouse_release(mb_left)) { diff --git a/scripts/preview_overlay_rotation/preview_overlay_rotation.gml b/scripts/preview_overlay_rotation/preview_overlay_rotation.gml index 33b428588..8e908b6d4 100644 --- a/scripts/preview_overlay_rotation/preview_overlay_rotation.gml +++ b/scripts/preview_overlay_rotation/preview_overlay_rotation.gml @@ -18,7 +18,7 @@ function preview_overlay_rotation(interact, active, _x, _y, _s, _mx, _my, _snx, if(key_mod_press(CTRL)) angle = round(angle / 15) * 15; - if(setValue( angle )) + if(setValueInspector( angle )) UNDO_HOLDING = true; if(mouse_release(mb_left)) { diff --git a/scripts/preview_overlay_scalar/preview_overlay_scalar.gml b/scripts/preview_overlay_scalar/preview_overlay_scalar.gml index 71b945201..fe222531c 100644 --- a/scripts/preview_overlay_scalar/preview_overlay_scalar.gml +++ b/scripts/preview_overlay_scalar/preview_overlay_scalar.gml @@ -16,7 +16,7 @@ function preview_overlay_scalar(interact, active, _x, _y, _s, _mx, _my, _snx, _s if(key_mod_press(CTRL)) dist = round(dist); - if(setValue( dist )) + if(setValueInspector( dist )) UNDO_HOLDING = true; if(mouse_release(mb_left)) { diff --git a/scripts/preview_overlay_vector/preview_overlay_vector.gml b/scripts/preview_overlay_vector/preview_overlay_vector.gml index f98cd2cf4..fcbcb862c 100644 --- a/scripts/preview_overlay_vector/preview_overlay_vector.gml +++ b/scripts/preview_overlay_vector/preview_overlay_vector.gml @@ -24,7 +24,7 @@ function preview_overlay_vector(interact, active, _x, _y, _s, _mx, _my, _snx, _s _val[1] = _ny; } - if(setValue( _val )) + if(setValueInspector( _val )) UNDO_HOLDING = true; if(mouse_release(mb_left)) {