From f9dd745ff5e1aaff4843808a46090e8249239a5b Mon Sep 17 00:00:00 2001 From: Kobi Date: Sat, 6 May 2023 11:36:22 +0800 Subject: [PATCH] =?UTF-8?q?BI-125963=20fix:=20maskers=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/fineui/src/base/0.base.js | 2 +- packages/fineui/src/core/controller/controller.masker.js | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/fineui/src/base/0.base.js b/packages/fineui/src/base/0.base.js index 6e224dbce..db4ad057c 100644 --- a/packages/fineui/src/base/0.base.js +++ b/packages/fineui/src/base/0.base.js @@ -12,7 +12,7 @@ import { StyleLoaderManager } from '../core/loader/loader.style'; const Resizers = new ResizeController(); const Layers = new LayerController(Resizers); -const Maskers = new MaskersController(); +const Maskers = new MaskersController(Resizers); const Bubbles = new BubblesController(); const Tooltips = new TooltipsController(); const Popovers = new PopoverController(); diff --git a/packages/fineui/src/core/controller/controller.masker.js b/packages/fineui/src/core/controller/controller.masker.js index 660703e13..dc07a48b8 100644 --- a/packages/fineui/src/core/controller/controller.masker.js +++ b/packages/fineui/src/core/controller/controller.masker.js @@ -7,6 +7,10 @@ import { LayerController } from "./controller.layer"; import { zIndex_masker } from "../constant"; export class MaskersController extends LayerController { + constructor (Resizers) { + super(Resizers); + } + init() { super.init(arguments); this.zindex = zIndex_masker;