summaryrefslogtreecommitdiff
path: root/Libraries/LibGUI/CheckBox.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Libraries/LibGUI/CheckBox.cpp')
-rw-r--r--Libraries/LibGUI/CheckBox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibGUI/CheckBox.cpp b/Libraries/LibGUI/CheckBox.cpp
index f2cdf40897..b6d8d6c658 100644
--- a/Libraries/LibGUI/CheckBox.cpp
+++ b/Libraries/LibGUI/CheckBox.cpp
@@ -78,7 +78,7 @@ void CheckBox::paint_event(PaintEvent& event)
if (is_enabled() && is_hovered())
painter.fill_rect(rect(), palette().hover_highlight());
- Gfx::Rect box_rect {
+ Gfx::IntRect box_rect {
0, height() / 2 - s_box_height / 2 - 1,
s_box_width, s_box_height
};