Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rishabh Gupta
purr-data
Commits
d5531212
Commit
d5531212
authored
Nov 30, 2017
by
Jonathan Wilkes
Browse files
invoke function to trigger fake mouseup message for a workaround
parent
7b703aec
Changes
1
Show whitespace changes
Inline
Side-by-side
pd/nw/pd_canvas.js
View file @
d5531212
...
...
@@ -117,7 +117,7 @@ function nw_window_focus_callback(name) {
function
nw_window_blur_callback
(
name
)
{
// Fake a mouseup event to keep from getting a dangling selection box
if
(
canvas_events
.
get_state
===
"
normal
"
)
{
if
(
canvas_events
.
get_state
()
===
"
normal
"
)
{
pdgui
.
pdsend
(
name
,
"
mouseup_fake
"
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment