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
74822bfb
Commit
74822bfb
authored
Apr 24, 2017
by
Jonathan Wilkes
Browse files
another attempt to fix #312: protect against out-of-order message border redraws
parent
26f2be1c
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/pdgui.js
View file @
74822bfb
...
...
@@ -1955,11 +1955,14 @@ function gui_message_flash(cid, tag, state) {
}
function
gui_message_redraw_border
(
cid
,
tag
,
width
,
height
)
{
var
g
=
get_gobj
(
cid
,
tag
),
var
g
,
b
;
if
(
patchwin
[
cid
])
{
g
=
get_gobj
(
cid
,
tag
);
b
=
g
.
querySelector
(
"
.border
"
);
configure_item
(
b
,
{
points
:
message_border_points
(
width
,
height
),
});
configure_item
(
b
,
{
points
:
message_border_points
(
width
,
height
),
});
}
}
function
atom_border_points
(
width
,
height
,
is_dropdown
)
{
...
...
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