Collaborative wiki for a few of us. Fork of lines.love.

bugfix: don't bother with panning support when maximized

scenario: maximize a pane click on a line

Before this commit the cursor was positioned way to the right, because mouse press had the right pane bounds but mouse release had the unmaximized pane bounds.

Perhaps we should also check that the mouse isn't on a pane. Unclear which way is more inefficient: repeatedly recomputing pane bounds or repeatedly querying for mouse coordinates.

Created by  Kartik K. Agaram  on August 4, 2022
S4TFD5YYEMH24RVOO5THEOW7WUP4FSICR4UYABSRE2UKXYCNN4DQC
Change contents