mirror of
https://github.com/idrawjs/idraw
synced 2026-05-24 10:08:34 +00:00
fix: clean ruler middleware of idraw
This commit is contained in:
parent
a90a555e35
commit
042dbf0752
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Core, MiddlewareSelector, MiddlewareScroller, MiddlewareRuler } from '@idraw/core';
|
||||
import { Core, MiddlewareSelector, MiddlewareScroller, MiddlewareScaler } from '@idraw/core';
|
||||
import type { IDrawOptions, Data } from '@idraw/types';
|
||||
|
||||
export class iDraw {
|
||||
|
|
@ -11,7 +11,7 @@ export class iDraw {
|
|||
this._opts = opts;
|
||||
core.use(MiddlewareScroller);
|
||||
core.use(MiddlewareSelector);
|
||||
core.use(MiddlewareRuler);
|
||||
core.use(MiddlewareScaler);
|
||||
}
|
||||
|
||||
setData(data: Data) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue