summaryrefslogtreecommitdiff
path: root/icon-themes/colibre_svg/cmd/lc_insertobject.svg
diff options
context:
space:
mode:
authorMichael Weghorn <m.weghorn@posteo.de>2026-04-10 22:14:13 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2026-04-11 09:10:05 +0200
commit2a9261371484176304b488c05fe27717fddcfc2b (patch)
treec371bb140ba5bc080526d964a09e8618849ac4ac /icon-themes/colibre_svg/cmd/lc_insertobject.svg
parent859d124ca4c335f385302d30be7e94a6dca689f2 (diff)
chart2: Simplify mouse move event handling in chart color palettes a bitHEADmaster
Instead of maintaining a ChartColorPalettes::mnHighlightedItemId and passing an unused MouseEvent to the handlers, rather pass the ID of the currently hovered-over item (or an empty string) to the handlers (and convert to sal_uInt16/sal_uInt32 in ChartColorPalettePopup::MouseMoveHdl instead. No change in behavior intended or observed. Sample steps to trigger the logic: * start Writer * insert a chart using the "Insert Chart" toolbar item * click on one of the chart's bars * in the "Properties" sidebar deck, in the "Colors" section, click on the arrow to open the color palette popup * hover over the different palettes and notice how the colors in the chart show a corresponding preview using the colors of the currently hovered over palette Change-Id: I78c7d3612e5e8e4607f5d78315694f6e0e7d33ef Reviewed-on: https://gerrit.libreoffice.org/c/core/+/203412 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'icon-themes/colibre_svg/cmd/lc_insertobject.svg')
0 files changed, 0 insertions, 0 deletions