Page MenuHome

Trackpad: View2D Zoom improvements and fixes
AbandonedPublic

Authored by Yevgeny Makarov (jenkm) on Aug 10 2020, 5:52 PM.

Details

Reviewers
None
Summary

Split and reloaded in parts: D8682 D8683 D8684 D8685 D8686.

Diff Detail

Repository
rB Blender

Event Timeline

Yevgeny Makarov (jenkm) requested review of this revision.Aug 10 2020, 5:52 PM
Yevgeny Makarov (jenkm) created this revision.
source/blender/editors/interface/view2d_ops.c
1161

Moved to 'view_zoomdrag_modal' because it is not needed for the trackpad.
Also U.pixelsize to UI_DPI_FAC.

1170

This is a fix for "Crash with Continued zoom + Zoom to Mouse Position".
Trackpad always uses Dolly zoom, skip by checking if a timer has been added.

1297

This is a fix for "Zoom to Mouse Position is broken in Node Editor".
Just moved it before the trackpad code.

1346

This for "Zooming out a lot faster than zooming in",
just, it should be after all the 'fac' preparation.

Yevgeny Makarov (jenkm) edited the summary of this revision. (Show Details)Aug 12 2020, 9:07 AM

Will be split and reloaded in parts.