libui: Fix wrong return type
All checks were successful
Build and test / build (push) Successful in 2m26s

This commit is contained in:
apio 2024-06-08 22:18:42 +02:00
parent 280b0c90af
commit 4087c7510e
Signed by: apio
GPG Key ID: B8A7D06E42258954

View File

@ -46,7 +46,7 @@ namespace ui
Result<void> ImageWidget::draw(Canvas& canvas)
{
if (!m_image) return;
if (!m_image) return {};
canvas.subcanvas({ 0, 0, m_image->width(), m_image->height() }).fill(m_image->pixels(), m_image->width());
return {};
}