moveable icon indicating copy to clipboard operation
moveable copied to clipboard

When i change the scale of Image then its (0,0) cordinates not display at Top-Left corner.

Open AkashTvu opened this issue 2 years ago • 1 comments

Environments

  • Framework name: Vue Js
  • Framework version: 2-beta.X
  • Moveable Component version:
  • Testable Address(optional):

##On Resizing the Image , at 0,0 co-ordinates image should come at center of the screen Here is the sample code : https://codesandbox.io/s/vue-moveable-issue-84-forked-zr4zhh?file=/src/App.vue

AkashTvu avatar Jul 31 '23 10:07 AkashTvu

@AkashTvu

Is this what you want?

onScaleStart(e) {
      e.setFixedDirection([0, 0]);
},


@scaleStart="onScaleStart"
@scale="onScale"

daybrush avatar Sep 19 '23 17:09 daybrush