Commit d82d3f53 authored by rockyl's avatar rockyl

输入框修改stage的click为mousedown

parent ff29b190
{"id":"engine","url":"engine.47eb390007c368d3dc5648734153301ebead724b.js"} {"id":"engine","url":"engine.d2f4eafa108b00ed5ac00e2d30ee98f8af4a9118.js"}
\ No newline at end of file \ No newline at end of file
...@@ -258,7 +258,7 @@ export class TextInput extends Label implements IUIComponent { ...@@ -258,7 +258,7 @@ export class TextInput extends Label implements IUIComponent {
private onClickStatic() { private onClickStatic() {
this.setFocus(); this.setFocus();
this.stage.once(MouseEvent.CLICK, this.onClickStage, this); this.stage.once(MouseEvent.MOUSE_DOWN, this.onClickStage, this);
} }
private onResize() { private onResize() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment