mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
Misc. clang static analyzer fixes
This commit is contained in:
committed by
LeaNumworks
parent
c3ceb0074f
commit
fe4e2e3e9d
@@ -101,6 +101,7 @@ void TableCell::layoutSubviews(bool force) {
|
||||
y = std::max<KDCoordinate>(y, height - k_separatorThickness - withMargin(accessorySize.height(), k_verticalMargin) - withMargin(subAccessorySize.height(), 0));
|
||||
if (subAccessory) {
|
||||
KDCoordinate subAccessoryHeight = std::min<KDCoordinate>(subAccessorySize.height(), height - y - k_separatorThickness - k_verticalMargin);
|
||||
assert(accessory);
|
||||
accessory->setFrame(KDRect(horizontalMargin, y, width - 2*horizontalMargin, subAccessoryHeight), force);
|
||||
y += subAccessoryHeight;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user