summaryrefslogtreecommitdiff
path: root/src/ui/mobile.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-06-13 06:52:36 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-06-13 06:52:36 +0300
commitd24775473c5e95043481457b061660caac8a1524 (patch)
treea01511b5b5462ed320fe953c9732ce88a8d27e71 /src/ui/mobile.c
parent7a27cf99aecfb3112af1d61b908d62d1808f43e5 (diff)
Touch: Swiping away the sidebar
Diffstat (limited to 'src/ui/mobile.c')
-rw-r--r--src/ui/mobile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/mobile.c b/src/ui/mobile.c
index 7794d686..1bf289a7 100644
--- a/src/ui/mobile.c
+++ b/src/ui/mobile.c
@@ -120,7 +120,7 @@ static iBool mainDetailSplitHandler_(iWidget *mainDetailSplit, const char *cmd)
120 } 120 }
121 iForEach(ObjectList, i, children_Widget(detailStack)) { 121 iForEach(ObjectList, i, children_Widget(detailStack)) {
122 iWidget *panel = i.object; 122 iWidget *panel = i.object;
123 setFlags_Widget(panel, edgeDraggable_WidgetFlag, !isSideBySide); 123 setFlags_Widget(panel, leftEdgeDraggable_WidgetFlag, !isSideBySide);
124 if (isSideBySide) { 124 if (isSideBySide) {
125 setVisualOffset_Widget(panel, 0, 0, 0); 125 setVisualOffset_Widget(panel, 0, 0, 0);
126 } 126 }
@@ -414,7 +414,7 @@ void finalizeSheet_Mobile(iWidget *sheet) {
414 setFlags_Widget(sheet, 414 setFlags_Widget(sheet,
415 frameless_WidgetFlag | 415 frameless_WidgetFlag |
416 //resizeWidthOfChildren_WidgetFlag | 416 //resizeWidthOfChildren_WidgetFlag |
417 edgeDraggable_WidgetFlag | 417 leftEdgeDraggable_WidgetFlag |
418 commandOnClick_WidgetFlag, 418 commandOnClick_WidgetFlag,
419 iTrue); 419 iTrue);
420 iPtrArray * contents = collect_PtrArray(new_PtrArray()); /* two-column pages */ 420 iPtrArray * contents = collect_PtrArray(new_PtrArray()); /* two-column pages */