Skip to content

Commit

Permalink
Removed tooltip bar for now, will come back to it later
Browse files Browse the repository at this point in the history
  • Loading branch information
oxters168 committed Aug 12, 2023
1 parent f30daca commit a7d0db0
Show file tree
Hide file tree
Showing 3 changed files with 132 additions and 6 deletions.
117 changes: 117 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 10 additions & 6 deletions app/src/main/java/com/OxGames/OxShell/PagedActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,8 @@ protected void onResume() {
settingsDrawer.onResume();
dynamicInput.onResume();
prompt.onResume();
tooltipBarView.onResume();
if (tooltipBarView != null)
tooltipBarView.onResume();
//settingsDrawer.setShown(isContextDrawerOpen());
//settingsDrawer.setX(settingsDrawerWidth);
setActionBarHidden(true);
Expand All @@ -304,9 +305,11 @@ protected void onResume() {
}

private void onKeyCombosChanged(String tag) {
tooltipBarView.setShownInputType(InputType.Touch);
tooltipBarView.refreshInputs();
//tooltipBarView.refreshViews();
if (tooltipBarView != null) {
tooltipBarView.setShownInputType(InputType.Touch);
tooltipBarView.refreshInputs();
//tooltipBarView.refreshViews();
}
}

@Override
Expand Down Expand Up @@ -357,7 +360,8 @@ protected void onPause() {
settingsDrawer.onPause();
dynamicInput.onPause();
prompt.onPause();
tooltipBarView.onPause();
if (tooltipBarView != null)
tooltipBarView.onPause();
//tagFromPause = InputHandler.getActiveTag();
super.onPause();
}
Expand Down Expand Up @@ -507,7 +511,7 @@ private void prepareOtherViews() {
dynamicInput.setShown(dynamicInput.isOverlayShown());
initPromptView();
prompt.setShown(prompt.isPromptShown());
initTooltipBarView();
// initTooltipBarView();
// TODO: set tooltip bar shown based on settings
initDebugView();
debugView.setShown(debugView.isDebugShown());
Expand Down

0 comments on commit a7d0db0

Please sign in to comment.