Skip to content
This repository has been archived by the owner on Apr 4, 2018. It is now read-only.

Commit

Permalink
Fixed a bug where the counter display would not update when the floor…
Browse files Browse the repository at this point in the history
… was set above the current value, although the count itself would change.
  • Loading branch information
Ryan Zoeller committed Oct 17, 2013
1 parent 61c017b commit 3088384
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -58,6 +58,8 @@ public void setFloor(Integer x) {
// Check if a floor exists and force our count to be above the floor if one does. // Check if a floor exists and force our count to be above the floor if one does.
if (state.floor != null && state.count < state.floor) { if (state.floor != null && state.count < state.floor) {
state.count = state.floor; state.count = state.floor;
// Refresh the counter to show the new value
refresh();
} }
} }


Expand Down

0 comments on commit 3088384

Please sign in to comment.