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
nerrons
purr-data
Commits
d5498d25
Commit
d5498d25
authored
Jan 31, 2018
by
Jonathan Wilkes
Browse files
Merge branch 'dialog-fixes'
parents
5cfa3c53
fbc05787
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
d5498d25
...
...
@@ -2596,16 +2596,16 @@ function gui_toggle_resize_cross(cid,tag,w,p1,p2,p3,p4,p5,p6,p7,p8,basex,basey)
var
points1
=
[
p1
-
basex
,
p2
-
basey
,
p3
-
basex
,
p4
-
basey
].
join
(
"
"
),
points
_array
=
[
p5
-
basex
,
p6
-
basey
,
points
2
=
[
p5
-
basex
,
p6
-
basey
,
p7
-
basex
,
p8
-
basey
].
join
(
"
"
);
gui
(
cid
)
.
get_elem
(
tag
+
"
cross1
"
,
{
points
1
:
points
,
points
:
points
1
,
"
stroke-width
"
:
w
})
.
get_elem
(
tag
+
"
cross2
"
,
{
points
2
:
points
,
points
:
points
2
,
"
stroke-width
"
:
w
});
}
...
...
@@ -4402,7 +4402,7 @@ function gui_canvas_deleteredrect(cid) {
// gui calls should really be minimized-- otherwise it's simply
// too difficult to debug what's being passed over the socket.
gui
(
cid
).
get_gobj
(
cid
,
function
(
e
)
{
e
.
parentNode
.
removeChild
(
r
);
e
.
parentNode
.
removeChild
(
e
);
});
}
...
...
@@ -4466,7 +4466,7 @@ function gui_cord_inspector_update(cid, text, basex, basey, bg_size, y1, y2, mov
function
gui_cord_inspector_erase
(
cid
)
{
gui
(
cid
).
get_gobj
(
"
cord_inspector
"
,
function
(
e
)
{
e
.
parentNode
.
removeChild
(
ci
);
e
.
parentNode
.
removeChild
(
e
);
});
}
...
...
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