mirror of
https://github.com/Pomax/BezierInfo-2.git
synced 2025-08-31 20:11:59 +02:00
reset buttons for all graphics (#230)
* reset buttons for all graphics * resetting * . * build * build
This commit is contained in:
@@ -2795,11 +2795,13 @@ return {
|
||||
return {
|
||||
setup: function(api) {
|
||||
this.api = api;
|
||||
api.noDrag = true; // do not allow points to be dragged around
|
||||
this.reset();
|
||||
},
|
||||
|
||||
reset: function() {
|
||||
this.points = [];
|
||||
this.sliders.setOptions([]);
|
||||
this.curveset = false;
|
||||
this.mode = 0;
|
||||
if (this.api) {
|
||||
|
Reference in New Issue
Block a user