Skip to content

Commit

Permalink
Faster tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
masc4ii committed Nov 1, 2024
1 parent fe6aebc commit a77d01c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion custompiechart/custompiechart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ bool CustomPieChart::event(QEvent *event)
if (lastPos != pos) {
tooltipTimer->stop();
lastPos = pos;
tooltipTimer->start(500); // 500ms on same position before fire tooltip
tooltipTimer->start(100); // 100ms on same position before fire tooltip
}

// Get pixmap of the widget
Expand Down

0 comments on commit a77d01c

Please sign in to comment.