mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
WindowServer+MouseSettings: Toggle cursor highlighting with Super+H
Rather than enabling/disabling cursor highlighting by going into mouse settings, you can now instead toggle it any time with Super+H. Mouse settings now is only for customising the look of the highlighting.
This commit is contained in:
parent
3c2c6790df
commit
5caf307ec0
5 changed files with 46 additions and 48 deletions
|
@ -52,10 +52,7 @@ Gfx::Color HighlightWidget::highlight_color()
|
|||
|
||||
int HighlightWidget::highlight_radius()
|
||||
{
|
||||
auto current_value = m_highlight_radius_slider->value();
|
||||
if (current_value <= m_highlight_radius_slider->min())
|
||||
return 0;
|
||||
return current_value;
|
||||
return m_highlight_radius_slider->value();
|
||||
}
|
||||
|
||||
void HighlightWidget::apply_settings()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue