Index: runtime/observatory/lib/src/elements/nav/class_menu_wrapper.dart |
diff --git a/runtime/observatory/lib/src/elements/nav/class_menu_wrapper.dart b/runtime/observatory/lib/src/elements/nav/class_menu_wrapper.dart |
index 35fc44896ed27000f8334f53878612dc4b85adaa..42a65de74c957aecd5fc43d328f74c3c1444549a 100644 |
--- a/runtime/observatory/lib/src/elements/nav/class_menu_wrapper.dart |
+++ b/runtime/observatory/lib/src/elements/nav/class_menu_wrapper.dart |
@@ -21,13 +21,17 @@ class NavClassMenuElementWrapper extends HtmlElement { |
bool _last = false; |
Class _cls; |
+ |
bool get last => _last; |
Class get cls => _cls; |
+ |
set last(bool value) { |
- _last = value; render(); |
+ _last = value; |
+ render(); |
} |
set cls(Class value) { |
- _cls = value; render(); |
+ _cls = value; |
+ render(); |
} |
NavClassMenuElementWrapper.created() : super.created() { |
@@ -45,7 +49,9 @@ class NavClassMenuElementWrapper extends HtmlElement { |
void render() { |
shadowRoot.children = []; |
- if (_cls == null || _last == null) return; |
+ if (_cls == null || _last == null) { |
+ return; |
+ } |
shadowRoot.children = [ |
new NavClassMenuElement(cls.isolate, cls, last: last, |