From 3383ae1598434d27c2a185a5498e729f4ce8512c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C5=82=20Babiarz?= <5783815+sauler@users.noreply.github.com> Date: Tue, 8 Feb 2022 17:38:16 +0100 Subject: [PATCH] LibWeb: Fixed disabled checkbox input behaviour Previously disabled checkbox could be checked by clicking on it's label --- Userland/Libraries/LibWeb/Layout/CheckBox.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Userland/Libraries/LibWeb/Layout/CheckBox.cpp b/Userland/Libraries/LibWeb/Layout/CheckBox.cpp index 71a87f96ef..5d043e0198 100644 --- a/Userland/Libraries/LibWeb/Layout/CheckBox.cpp +++ b/Userland/Libraries/LibWeb/Layout/CheckBox.cpp @@ -87,12 +87,18 @@ void CheckBox::handle_mousemove(Badge, const Gfx::IntPoint& positi void CheckBox::handle_associated_label_mousedown(Badge