- [Canvas] Fix error when holding Ctrl + Shift while creating 0 width line.

This commit is contained in:
Tanasart 2024-07-09 07:27:21 +07:00
parent f1120a928c
commit c79b2abfef
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ function canvas_tool_brush(brush, eraser = false) : canvas_tool() constructor {
var _rat = round(_ddx / _ddy); var _rat = round(_ddx / _ddy);
_ddx = _ddy * _rat; _ddx = _ddy * _rat;
} else { } else if(abs(_dx) < abs(_dy)) {
var _rat = round(_ddy / _ddx); var _rat = round(_ddy / _ddx);
_ddy = _ddx * _rat; _ddy = _ddx * _rat;

View file

@ -38,7 +38,7 @@
LATEST_VERSION = 11700; LATEST_VERSION = 11700;
VERSION = 11761; VERSION = 11761;
SAVE_VERSION = 11700; SAVE_VERSION = 11700;
VERSION_STRING = "1.17.7.002"; VERSION_STRING = "1.17.7.003";
BUILD_NUMBER = 11761; BUILD_NUMBER = 11761;
globalvar HOTKEYS, HOTKEY_CONTEXT; globalvar HOTKEYS, HOTKEY_CONTEXT;