aboutsummaryrefslogtreecommitdiff
path: root/src/mobile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mobile')
-rw-r--r--src/mobile/MobileInterface.scss5
-rw-r--r--src/mobile/MobileInterface.tsx8
2 files changed, 10 insertions, 3 deletions
diff --git a/src/mobile/MobileInterface.scss b/src/mobile/MobileInterface.scss
index ee39d4f50..4b32c3da0 100644
--- a/src/mobile/MobileInterface.scss
+++ b/src/mobile/MobileInterface.scss
@@ -401,14 +401,15 @@ body {
.colorSelector {
position: absolute;
top: 550px;
- left: 300px;
+ left: 280px;
transform: translate(-50%, 0);
z-index: 100;
display: inline-flex;
width: max-content;
height: max-content;
pointer-events: all;
- font-size: 90px;
+ font-size: 80px;
+ user-select: none;
}
// Menu buttons for toggling between list and icon view
diff --git a/src/mobile/MobileInterface.tsx b/src/mobile/MobileInterface.tsx
index 194c8eb66..1b934df93 100644
--- a/src/mobile/MobileInterface.tsx
+++ b/src/mobile/MobileInterface.tsx
@@ -107,12 +107,18 @@ export class MobileInterface extends React.Component {
this.renderView = renderView;
// Ensures that switching to home is not registed
UndoManager.undoStack.length = 0;
+ UndoManager.redoStack.length = 0;
}
// For toggling the hamburger menu
@action
- toggleSidebar = () => this.sidebarActive = !this.sidebarActive
+ toggleSidebar = () => {
+ this.sidebarActive = !this.sidebarActive;
+ if (this._ink) {
+ this.onSwitchInking();
+ }
+ }
/**
* Method called when 'Library' button is pressed on the home screen
*/