Hello, I'm running into trouble with SketchViewModel.defaultUpdateOptions.enableScaling set to false... still enables the user to scale the graphic. I've created a sample codepen based off the Sketch Widget example (same behavior for SketchViewModel though), with enableSketching set to off:
I've attached a clip below that shows that while the resize handlers are not visible... that are apparently still active and can definitely be used.
Is there parameters I'm missing or is this considered a bug? If a bug, are there any workarounds? I could cancel on the update event for scale-start.... but that's not ideal as it deselects the graphic and still has the cursor changes even though they don't work. Furthermore, on smaller graphics, it becomes impossible to move them without scaling (which would then cancel, making the app appear to be buggy/unstable).
Solved! Go to Solution.
Hello @AaronFortener ,
Thanks for bringing up this issue. This appears to be a regression in 4.18, as it works in version 4.17. This issue was fixed in 3D, but looks like we missed this for 2D. We will look into getting this fixed soon.