Project

General

Profile

Feature #8475

[patch] Scrolling at limits redraws image needlessly

Added by internetbummer - almost 7 years ago. Updated almost 7 years ago.

Status:
Fixed
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

100%

Affected Version:
System:
bitness:
64-bit
hardware architecture:
amd64/x86

Description

When scrolling to the extents of the scroll range, if you're beyond a certain point you won't scroll any further but the image still redraws. I've attached a patch which corrects this issue. Basically if you're already at the zoom limit the "scrolled" function simply returns before dirtying (invalidating) the image cache (dt_dev_invalidate).

History

#1 Updated by Tobias Ellinghaus almost 7 years ago

  • Status changed from New to Fixed

Thanks, pushed.

Also available in: Atom PDF