fix(inventory): update adjustment value to use integer for swipe actions
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -48,7 +48,7 @@ class _SwipeableInventoryTileState
|
||||
void _onEnd(DragEndDetails d) {
|
||||
if (_acting) return;
|
||||
if (_drag > _threshold) {
|
||||
_adjust(+1);
|
||||
_adjust(1);
|
||||
} else if (_drag < -_threshold) {
|
||||
_adjust(-1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user