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
fb13954e
Commit
fb13954e
authored
Apr 08, 2016
by
Jonathan Wilkes
Browse files
fix
#33
:
vsl freezes after updating maximum-range in the dialog
parent
e6c605f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
pd/nw/dialog_iemgui.html
View file @
fb13954e
...
...
@@ -413,11 +413,11 @@ function send_params(attrs, create_undo_point) {
var
height
,
width
;
var
size
=
attrs
[
"
size
"
];
if
(
!
size
)
{
if
(
size
===
undefined
)
{
size
=
attrs
[
"
selection-size
"
];
}
if
(
size
)
{
if
(
size
!==
undefined
)
{
width
=
size
;
height
=
size
;
}
else
{
...
...
@@ -428,19 +428,19 @@ function send_params(attrs, create_undo_point) {
var
slot3
=
attrs
[
"
minimum-range
"
];
var
slot4
=
attrs
[
"
maximum-range
"
];
if
(
!
slot3
)
{
if
(
slot3
===
undefined
)
{
slot3
=
attrs
[
"
flash-interrupt
"
];
slot4
=
attrs
[
"
flash-hold
"
];
}
if
(
!
slot3
)
{
if
(
slot3
===
undefined
)
{
slot3
=
attrs
[
"
visible-width
"
];
slot4
=
attrs
[
"
visible-height
"
];
}
if
(
!
slot3
)
{
// toggle
if
(
slot3
===
undefined
)
{
// toggle
slot3
=
attrs
[
"
nonzero-value
"
];
if
(
!
slot3
)
{
if
(
slot3
===
undefined
)
{
slot3
=
0
;
}
slot4
=
0
;
...
...
@@ -462,10 +462,10 @@ function send_params(attrs, create_undo_point) {
if
(
!
init
)
{
init
=
0
;
}
var
slot7
=
attrs
[
"
log-height
"
];
if
(
!
slot7
)
{
if
(
slot7
===
undefined
)
{
slot7
=
attrs
[
"
number
"
];
}
if
(
!
slot7
)
{
if
(
slot7
===
undefined
)
{
slot7
=
0
;
}
...
...
@@ -473,7 +473,7 @@ function send_params(attrs, create_undo_point) {
//if (font_style !== null) { font_style = 0; }
var
font_size
=
attrs
[
"
font-size
"
];
if
(
!
font_size
)
{
font_size
=
0
;
}
if
(
font_size
===
undefined
)
{
font_size
=
0
;
}
// [vu] doesn't have a foreground color
var
foreground_color
=
attrs
[
"
foreground-color
"
]
?
...
...
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