From ae48dae96f08722388c830acbf19d5dc77b50568 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 8 Mar 2017 15:29:46 -0800 Subject: [PATCH] get rid of toggleTabletUI lockout period --- interface/src/Application.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index d659ec0a94..60d6adc5d1 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -1620,14 +1620,7 @@ QString Application::getUserAgent() { return userAgent; } -uint64_t lastTabletUIToggle { 0 }; -const uint64_t toggleTabletUILockout { 500000 }; void Application::toggleTabletUI() const { - uint64_t now = usecTimestampNow(); - if (now - lastTabletUIToggle < toggleTabletUILockout) { - return; - } - lastTabletUIToggle = now; auto tabletScriptingInterface = DependencyManager::get(); TabletProxy* tablet = dynamic_cast(tabletScriptingInterface->getTablet("com.highfidelity.interface.tablet.system")); bool messageOpen = tablet->isMessageDialogOpen();