* minimap: Update on any selection change
For now minimap is already updated when box (not port) is selected.
Also it will update if port is selected by Ctrl+C while box is already
selected. This commit just makes this behavior more stable and
predictable,
* minimap: Align frame bottom with canvas frame
* minimap: Fixed & unified cursor pos expressions
Another approach, yet working in both places without rewriting.
Don't add xp or yp, as it displaces right/bottom limit by 1px
* minimap: Better custom frame
New implementation has outer 1px shadow above parent background
and internal enlight border above background. All is pixel-aligned.
* minimap: Fix cursor position on lowest scale
When scale is close to 0.2, view area may become bigger than working
area. After such "fix" viewRect position is broken.
* minimap: Brightness-aware shading on side gaps
* mininap: Set viewRect lineHinting from proper pen
* minimap: Cliped rendering for rounded corners
* minimap: Frame width awareness
Draw content only inside frame when external qt theme is used.
* minimap: Implement full resize with any ratio
* minimap: Better cursor positioning
* minimap: Minimal corner rounding
Make rounding to look good with rounded frames, still not ugly
with square themes.
* minimap: Reworked frame
Mimic tab frame by placing existing frame as line child to QTabWidget.
Frame derivation still handy to create inner sunken frame, just like
in two other frames around.
* minimap-framewidth: Follow system style change
* minimap: Special blending modes for view cursor
Adding for dark color schemes and subtracting for light preserve more
contrast, compared to default blending. Difference is calculated from
background and rubberband colors.
* Better buttons look in sidebar fileview
* minimap: Hold cursor inside map in view move mode
* minimap: Natural move
Would be more natural to have centered position in canvas view, when
pointed in minimap.