fix them all
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -310,7 +310,7 @@ void SpriteBorderEditor::AddConfigureSection(QGridLayout* gridLayout, int& rowNu
|
||||
int newNumCols = numColsLineEdit->text().toInt(&colConversionSuccess);
|
||||
|
||||
const bool positiveInputs = newNumRows > 0 && newNumCols > 0;
|
||||
const bool valueChanged = m_numRows != newNumRows || m_numCols != newNumCols;
|
||||
const bool valueChanged = m_numRows != static_cast<uint>(newNumRows) || m_numCols != static_cast<uint>(newNumCols);
|
||||
|
||||
// This number of cells is just nearly unusable in the sprite editor UI. Supporting
|
||||
// more would likely require reworking of UX/UI and even implementation.
|
||||
|
||||
Reference in New Issue
Block a user