When I add an event to restore the default value of the drag box (W, h, x, y), a bug will appear when certain conditions occur
The problem appears in the method calcdraglimits in the source code of the Vue file. The obtained this.width is the result of the last drag, not the result of restoring the default value
Therefore, my suggestion is to put the X and Y monitoring functions in watch under the W and H monitoring functions in watch. I hope the author can repair them as soon as possible
When I add an event to restore the default value of the drag box (W, h, x, y), a bug will appear when certain conditions occur
The problem appears in the method calcdraglimits in the source code of the Vue file. The obtained this.width is the result of the last drag, not the result of restoring the default value
Therefore, my suggestion is to put the X and Y monitoring functions in watch under the W and H monitoring functions in watch. I hope the author can repair them as soon as possible