This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed a bug where the counter display would not update when the floor…

… was set above the current value, although the count itself would change.
  • Loading branch information...
Ryan Zoeller
Ryan Zoeller committed Oct 17, 2013
1 parent 61c017b commit 30883843c495d3f85a05151ee854c28a34b10989
Showing with 2 additions and 0 deletions.
  1. +2 −0 ScoutingApp/src/main/java/com/kingtec2169/scouting/Counter.java
@@ -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.
if (state.floor != null && state.count < state.floor) {
state.count = state.floor;
// Refresh the counter to show the new value
refresh();
}
}

0 comments on commit 3088384

Please sign in to comment.