Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
3pia
VISPA
VISPA web
Commits
470dcb0f
Commit
470dcb0f
authored
Oct 23, 2017
by
Benjamin Fischer
Browse files
UI: fixed resize event propagation during detach/collapse
parent
4d762e41
Changes
2
Hide whitespace changes
Inline
Side-by-side
vispa/static/js/ui/split.js
View file @
470dcb0f
...
...
@@ -210,6 +210,8 @@ define([
oldInstance
.
parent
=
undefined
;
newInstance
.
master
=
this
.
master
;
newInstance
.
parent
=
this
;
newInstance
.
emit
(
"
resize
"
);
},
/** indent: 1
...
...
@@ -233,8 +235,6 @@ define([
wrapper
.
next
().
add
(
wrapper
.
prev
()).
eq
(
0
).
add
(
wrapper
).
remove
();
this
.
_instances
.
splice
(
index
,
1
);
this
.
emit
(
"
resize
"
);
// proper resize
var
n
=
siblings
.
length
;
if
(
n
===
0
)
{
...
...
@@ -262,6 +262,8 @@ define([
siblings
[
i
].
style
.
flexBasis
=
String
(
v
*
scale
)
+
"
%
"
;
siblings
.
eq
(
i
).
toggleClass
(
"
vispa-ui-resized
"
,
false
);
}
this
.
emit
(
"
resize
"
);
}
},
...
...
vispa/static/js/ui/tabber.js
View file @
470dcb0f
...
...
@@ -317,6 +317,8 @@ define([
}
else
{
instance
.
hide
();
}
this
.
emit
(
"
resize
"
);
},
/** indent: 1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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