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
Wynn
purr-data
Commits
6cacc536
Commit
6cacc536
authored
Jan 05, 2016
by
Jonathan Wilkes
Browse files
remove old iemgui label flags
parent
84c016f6
Changes
2
Hide whitespace changes
Inline
Side-by-side
pd/nw/pd_canvas.js
View file @
6cacc536
...
...
@@ -649,7 +649,6 @@ var canvas_events = (function() {
scalar_draggables
[
id
]
=
null
;
}
},
clickable_resize_handle
:
false
,
// this can be removed...
save_and_close
:
function
()
{
pdgui
.
pdsend
(
name
,
"
menusave
"
,
1
);
},
...
...
pd/nw/pdgui.js
View file @
6cacc536
...
...
@@ -2372,7 +2372,6 @@ function gui_iemgui_label_show_drag_handle(cid, tag, state, x, y) {
class
:
(
cid
===
tag
)
?
"
gop_drag_handle
"
:
"
label_drag_handle
"
});
gobj
.
appendChild
(
rect
);
patchwin
[
cid
].
window
.
canvas_events
.
clickable_resize_handle
=
true
;
}
else
{
if
(
gobj
)
{
rect
=
gobj
.
getElementsByClassName
((
cid
===
tag
)
?
...
...
@@ -2381,8 +2380,6 @@ function gui_iemgui_label_show_drag_handle(cid, tag, state, x, y) {
// Need to check for null here...
if
(
rect
)
{
rect
.
parentNode
.
removeChild
(
rect
);
patchwin
[
cid
].
window
.
canvas_events
.
clickable_resize_handle
=
false
;
}
else
{
post
(
"
couldnt delete the iemgui drag handle!
"
);
}
...
...
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