Fix a bunch of warnings

This commit is contained in:
SirLynix
2022-11-13 16:12:49 +01:00
parent 71c5133c7a
commit 842e797cc4
34 changed files with 47 additions and 90 deletions

View File

@@ -416,12 +416,6 @@ namespace Nz
void SimpleScrollbarWidgetStyle::Layout(const Vector2f& size)
{
float totalSize;
if (GetOwnerWidget<ScrollbarWidget>()->GetOrientation() == ScrollbarOrientation::Horizontal)
totalSize = size.x;
else
totalSize = size.y;
m_backgroundScrollbarSprite->SetSize(size);
}