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
Jonathan Wilkes
purr-data
Commits
3e94d52e
Commit
3e94d52e
authored
Jul 24, 2015
by
Jonathan Wilkes
Browse files
make msg box creation work with autopatching
parent
09c26c6a
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pd_canvas.html
View file @
3e94d52e
...
...
@@ -814,8 +814,12 @@ function nw_create_patch_window_menus (name) {
putMenu
.
append
(
new
nw
.
MenuItem
({
label
:
l
(
'
menu.msgbox
'
),
click
:
function
()
{
pdgui
.
pdsend
(
name
+
"
dirty 1
"
);
pdgui
.
pdsend
(
name
+
"
msg 0
"
);
var
state
=
canvas_events
.
get_state
();
if
(
state
===
'
text
'
||
state
===
'
float_text
'
)
{
canvas_events
.
set_obj
();
}
pdgui
.
pdsend
(
name
+
"
dirty 1
"
);
pdgui
.
pdsend
(
name
+
"
msg 0
"
);
},
key
:
'
2
'
,
modifiers
:
"
ctrl
"
,
...
...
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