Commit ebbd6ad1 authored by Jonathan Wilkes's avatar Jonathan Wilkes
Browse files

fix #83 again: GUI Freeze with hslider, vslider and vu

parent 014406e8
...@@ -3733,11 +3733,14 @@ function gui_gatom_dialog(did, attr_array) { ...@@ -3733,11 +3733,14 @@ function gui_gatom_dialog(did, attr_array) {
} }
function gui_gatom_activate(cid, tag, state) { function gui_gatom_activate(cid, tag, state) {
var g = get_gobj(cid, tag); var g;
if (state !== 0) { if (patchwin[cid]) {
g.classList.add("activated"); g = get_gobj(cid, tag);
} else { if (state !== 0) {
g.classList.remove("activated"); g.classList.add("activated");
} else {
g.classList.remove("activated");
}
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment