diff options
Diffstat (limited to 'support/hololens/ServoApp/BrowserPage.cpp')
-rw-r--r-- | support/hololens/ServoApp/BrowserPage.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/support/hololens/ServoApp/BrowserPage.cpp b/support/hololens/ServoApp/BrowserPage.cpp index 617ef66e27d..1a9b2073bbd 100644 --- a/support/hololens/ServoApp/BrowserPage.cpp +++ b/support/hololens/ServoApp/BrowserPage.cpp @@ -55,6 +55,12 @@ void BrowserPage::LoadServoURI(Uri uri) { servoControl().LoadURIOrSearch(raw2); } +void BrowserPage::SetTransientMode(bool transient) { + servoControl().SetTransientMode(transient); + navigationBar().Visibility(transient ? Visibility::Collapsed + : Visibility::Visible); +} + void BrowserPage::Shutdown() { servoControl().Shutdown(); } /**** USER INTERACTIONS WITH UI ****/ |