diff options
| author | Michael Weghorn <m.weghorn@posteo.de> | 2026-04-10 22:14:13 +0200 |
|---|---|---|
| committer | Michael Weghorn <m.weghorn@posteo.de> | 2026-04-11 09:10:05 +0200 |
| commit | 2a9261371484176304b488c05fe27717fddcfc2b (patch) | |
| tree | c371bb140ba5bc080526d964a09e8618849ac4ac /icon-themes/tango/cmd/sc_symbolshapes.puzzle.png | |
| parent | 859d124ca4c335f385302d30be7e94a6dca689f2 (diff) | |
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/tango/cmd/sc_symbolshapes.puzzle.png')
0 files changed, 0 insertions, 0 deletions
