Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
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
0e3cfba5
Commit
0e3cfba5
authored
May 16, 2016
by
Jonathan Wilkes
Browse files
fix regression when editing boxes during window blurs
parent
88955836
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pd_canvas.js
View file @
0e3cfba5
...
...
@@ -107,8 +107,10 @@ function nw_window_focus_callback() {
}
function
nw_window_blur_callback
(
name
)
{
// Fake a mouseup event
pdgui
.
pdsend
(
name
,
"
mouseup_fake
"
);
// Fake a mouseup event to keep from getting a dangling selection box
if
(
canvas_events
.
get_state
===
"
normal
"
)
{
pdgui
.
pdsend
(
name
,
"
mouseup_fake
"
);
}
}
// These three functions need to be inside canvas_events closure
...
...
Write
Preview
Supports
Markdown
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