mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
VisualBuilder: Add the first VBWidget subclass: VBButtonWidget. :^)
This commit is contained in:
@@ -56,10 +56,4 @@ void VBWidget::paint(GPainter& painter)
|
||||
{
|
||||
painter.fill_rect(m_rect, Color::White);
|
||||
painter.draw_rect(m_rect, Color::Black);
|
||||
|
||||
if (is_selected()) {
|
||||
for_each_direction([&] (Direction direction) {
|
||||
painter.fill_rect(grabber_rect(direction), Color::Black);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user