mirror of
https://github.com/Tencent/tmagic-editor.git
synced 2025-11-18 20:42:38 +08:00
refactor(stage): hightlight throttleTime调整
This commit is contained in:
parent
db62427ee9
commit
ed0a833d9f
@ -25,7 +25,7 @@ import type { StageMaskConfig } from './types';
|
|||||||
import { createDiv, getScrollParent, isFixedParent } from './util';
|
import { createDiv, getScrollParent, isFixedParent } from './util';
|
||||||
|
|
||||||
const wrapperClassName = 'editor-mask-wrapper';
|
const wrapperClassName = 'editor-mask-wrapper';
|
||||||
const throttleTime = 300;
|
const throttleTime = 100;
|
||||||
|
|
||||||
const hideScrollbar = () => {
|
const hideScrollbar = () => {
|
||||||
const style = globalThis.document.createElement('style');
|
const style = globalThis.document.createElement('style');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user