Index: runtime/observatory/lib/src/elements/nav/top_menu_wrapper.dart |
diff --git a/runtime/observatory/lib/src/elements/nav/top_menu_wrapper.dart b/runtime/observatory/lib/src/elements/nav/top_menu_wrapper.dart |
index edc5e278c67562b29f600ae37cf7dcab2fe2996d..db99fffe2b138c329e8666358835595ec6218a2c 100644 |
--- a/runtime/observatory/lib/src/elements/nav/top_menu_wrapper.dart |
+++ b/runtime/observatory/lib/src/elements/nav/top_menu_wrapper.dart |
@@ -18,9 +18,12 @@ class NavTopMenuElementWrapper extends HtmlElement { |
static const tag = const Tag<NavTopMenuElementWrapper>('top-nav-menu'); |
bool _last = false; |
+ |
bool get last => _last; |
+ |
set last(bool value) { |
- _last = value; render(); |
+ _last = value; |
+ render(); |
} |
NavTopMenuElementWrapper.created() : super.created() { |
@@ -38,7 +41,9 @@ class NavTopMenuElementWrapper extends HtmlElement { |
void render() { |
shadowRoot.children = []; |
- if (_last == null) return; |
+ if (_last == null) { |
+ return; |
+ } |
shadowRoot.children = [ |
new NavTopMenuElement(last: last, queue: ObservatoryApplication.app.queue) |