mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-18 19:47:32 +08:00
Text edit input behavior fixed
This commit is contained in:
16
js/input/mouse/MouseIgnore.js
Normal file
16
js/input/mouse/MouseIgnore.js
Normal file
@@ -0,0 +1,16 @@
|
||||
import IMouseClickDrag from "./IMouseClickDrag";
|
||||
|
||||
/**
|
||||
* @typedef {import("../../element/PinElement").default} PinElement
|
||||
*/
|
||||
|
||||
/**
|
||||
* @extends IMouseClickDrag<PinElement>
|
||||
*/
|
||||
export default class MouseIgnore extends IMouseClickDrag {
|
||||
|
||||
constructor(target, blueprint, options = {}) {
|
||||
options.consumeEvent = true
|
||||
super(target, blueprint, options)
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user