From 11cc8e1209e99d394febfde0696b94dd69972e4a Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sat, 29 May 2021 15:03:39 +0200 Subject: Work on body swipe, fix body scrolling being jerky with touch --- TODO | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'TODO') diff --git a/TODO b/TODO index 1968ffd..4c17bf5 100644 --- a/TODO +++ b/TODO @@ -132,4 +132,6 @@ Submit on notifications item in matrix should jump to the message in the room. Notifications should load their replied-to-message. Readd copying of Text in Body copy constructor. Find out why we need to make the text dirty on copy. Body items that are no longer visible should stop their thumbnail download/creation (moving to bottom of file-manager is very slow). -Fix body flickering when moving up and there is a new local image to load. It happens because we have no idea how large the thumbnail is before loading it. \ No newline at end of file +Fix body flickering when moving up and there is a new local image to load. It happens because we have no idea how large the thumbnail is before loading it. +Make body width the same as the window width (for the main body when there isn't a room list beside it) and pass margin to body draw. This is needed to allow swiping body from the window (screen) edge. +Restrict sf::View viewport in Body to x axis as well, to hide the body in the end when swiping right. \ No newline at end of file -- cgit v1.2.3