forked from LibreCAD/LibreCAD
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: limit scrolling to drawing + perimeter.
Before this patch, the scroll limits were arbitrary, which made the user have to use zoom to recenter the scroll perimeter, in order to navigate the whole document. This patch limits scrolling to the drawing instead. The exact perimeters are now so that the drawing is always in the viewport, with an extra empty zone of 75% for potentially extending the drawing. This issue got mentioned in LibreCAD#479
- Loading branch information
Showing
1 changed file
with
10 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters