mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-24 01:18:12 +08:00
Allow right clicking in text fields (#1207)
* Allow right clicking in text edit * Cleanup --------- Co-authored-by: Keavon Chambers <keavon@keavon.com>
This commit is contained in:
@@ -276,6 +276,7 @@
|
||||
textInput.focus();
|
||||
textInput.click();
|
||||
|
||||
// Sends the text input element used for interactively editing with the text tool in a custom event
|
||||
window.dispatchEvent(new CustomEvent("modifyinputfield", { detail: textInput }));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user