mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 07:07:23 +00:00
Everywhere: Rename left/right-click to primary/secondary
This resolves #10641.
This commit is contained in:
committed by
Idan Horowitz
parent
a6ccf6659a
commit
d6a0726302
@@ -111,7 +111,7 @@ int OpacitySlider::value_at(const Gfx::IntPoint& position) const
|
||||
|
||||
void OpacitySlider::mousedown_event(MouseEvent& event)
|
||||
{
|
||||
if (event.button() == MouseButton::Left) {
|
||||
if (event.button() == MouseButton::Primary) {
|
||||
m_dragging = true;
|
||||
set_value(value_at(event.position()));
|
||||
return;
|
||||
@@ -130,7 +130,7 @@ void OpacitySlider::mousemove_event(MouseEvent& event)
|
||||
|
||||
void OpacitySlider::mouseup_event(MouseEvent& event)
|
||||
{
|
||||
if (event.button() == MouseButton::Left) {
|
||||
if (event.button() == MouseButton::Primary) {
|
||||
m_dragging = false;
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user