summaryrefslogtreecommitdiff
path: root/svtools
diff options
context:
space:
mode:
authorKshitij Pathania <kshitijpathania@gmail.com>2017-09-28 07:32:52 +0530
committerTamás Zolnai <tamas.zolnai@collabora.com>2017-11-29 18:08:47 +0100
commit584a73ce23706c1e0dfbf32b4dbdbe6c79fb0ef2 (patch)
tree8e0b0f7b5992e505f959c25fadc297d9f17185e8 /svtools
parent06fa42837d8764e10627e7b97c04d0853e9976e3 (diff)
tdf#111801 added hover state to tabledesign sidebar
Change-Id: I1ceb806c6423964346c97d7b1ef6dcac46698902 Reviewed-on: https://gerrit.libreoffice.org/42882 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
Diffstat (limited to 'svtools')
-rw-r--r--svtools/source/control/valueset.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/svtools/source/control/valueset.cxx b/svtools/source/control/valueset.cxx
index 0502bbe4017c..e57152021cbb 100644
--- a/svtools/source/control/valueset.cxx
+++ b/svtools/source/control/valueset.cxx
@@ -1097,14 +1097,14 @@ void ValueSet::ImplTracking( const Point& rPos, bool bRepeat )
ValueSetItem* pItem = ImplGetItem( ImplGetItem( rPos ) );
if ( pItem )
{
- if( GetStyle() & WB_MENUSTYLEVALUESET )
+ if( GetStyle() & WB_MENUSTYLEVALUESET || GetStyle() & WB_FLATVALUESET )
mbHighlight = true;
ImplHighlightItem( pItem->mnId );
}
else
{
- if( GetStyle() & WB_MENUSTYLEVALUESET )
+ if( GetStyle() & WB_MENUSTYLEVALUESET || GetStyle() & WB_FLATVALUESET )
mbHighlight = true;
ImplHighlightItem( mnSelItemId, false );
@@ -1188,7 +1188,7 @@ void ValueSet::MouseButtonUp( const MouseEvent& rMouseEvent )
void ValueSet::MouseMove( const MouseEvent& rMouseEvent )
{
// because of SelectionMode
- if ( mbSelection || (GetStyle() & WB_MENUSTYLEVALUESET) )
+ if ( mbSelection || (GetStyle() & WB_MENUSTYLEVALUESET) || (GetStyle() & WB_FLATVALUESET))
ImplTracking( rMouseEvent.GetPosPixel(), false );
Control::MouseMove( rMouseEvent );
}