|
|
|
@ -9,17 +9,17 @@ import { Widget } from "../4.widget";
|
|
|
|
|
import { createWidget } from "../5.inject"; |
|
|
|
|
import { zIndex_layer } from "../constant"; |
|
|
|
|
import { DOM } from "../utils"; |
|
|
|
|
// import { Resizers } from "../../base/0.base";
|
|
|
|
|
|
|
|
|
|
export class LayerController extends Controller { |
|
|
|
|
constructor() { |
|
|
|
|
constructor(Resizers) { |
|
|
|
|
super(); |
|
|
|
|
this._constructor(); |
|
|
|
|
this.Resizers = Resizers; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
props = { |
|
|
|
|
render: "body", |
|
|
|
|
} |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
init() { |
|
|
|
|
this.layerManager = {}; |
|
|
|
@ -28,7 +28,7 @@ export class LayerController extends Controller {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_initResizer() { |
|
|
|
|
// this.resizer = Resizers.add(`layerController${uniqueId()}`, bind(this._resize, this));
|
|
|
|
|
this.resizer = this.Resizers.add(`layerController${uniqueId()}`, bind(this._resize, this)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
_resize() { |
|
|
|
|