hbalxzdl

Results 4 comments of hbalxzdl

Execute openPlayer first and then startPlayer, and the issue will be resolved ``` play() async { await flutterSoundPlayer.openPlayer() await flutterSoundPlayer.startPlayer() } ```

可以监听鼠标按下事件,再通过app.editor.editBox.enterPoint.direction 来判断

this.app.editor.on(PointerEvent.DOWN, (e) => { if (this.app.editor.list.some(item => item.tag !== 'Text')) return const isDirection = [1, 3, 5, 7].includes(this.app.editor.editBox.enterPoint?.direction) if (isDirection) Text.setEditConfig({ editSize: 'size' }) else Text.setEditConfig({ editSize : 'font-size' })...