You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
1) Code is splitted into 3 sections: - draw `under` texture; - draw `progress` texture + draw radial modes reference cross; - draw `over` texture. Each draw texture section handles nine-patch stretching. Except for the progress texture in radial modes, which does not support nine-patch stretching. 2) The reference cross position now is not misaligned to real center position (`floor()` call removed). 3) The reference cross drawing code is additionally surrounded by `TOOLS_ENABLED` check.
9.2 KiB
9.2 KiB