We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56aa464 commit abc0350Copy full SHA for abc0350
1 file changed
src/addons/addons/paint-tool-panel/userscript.js
@@ -379,7 +379,7 @@ export default async function () {
379
case "Scaling/width":
380
case "Scaling/height": return (item, value) => {
381
if (!item[panelTag]) item[panelTag] = structuredClone(valueObserverObj);
382
- const currentScale = item.getBounds()[isX ? "width" : "height"] / 2;
+ const currentScale = item.getBounds()[isX ? "width" : "height"];
383
384
// determine the delta needed to move the currentScale to value
385
value = value / currentScale;
0 commit comments