mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:37:45 +00:00
PixelPaint: Convert to east-const style
This commit is contained in:
parent
242742b6c2
commit
29e80178a8
23 changed files with 72 additions and 72 deletions
|
@ -103,7 +103,7 @@ void LayerListWidget::paint_event(GUI::PaintEvent& event)
|
|||
paint_gadget(m_gadgets[m_moving_gadget_index.value()]);
|
||||
}
|
||||
|
||||
Optional<size_t> LayerListWidget::gadget_at(const Gfx::IntPoint& position)
|
||||
Optional<size_t> LayerListWidget::gadget_at(Gfx::IntPoint const& position)
|
||||
{
|
||||
for (size_t i = 0; i < m_gadgets.size(); ++i) {
|
||||
if (m_gadgets[i].rect.contains(position))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue