Skip to content

Commit

Permalink
UpdateTimeFilter
Browse files Browse the repository at this point in the history
  • Loading branch information
pjimen5 committed Oct 28, 2011
1 parent dc00403 commit f9b1483
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion MapView.pde
Expand Up @@ -212,7 +212,7 @@ class MapView extends View {

void drawPlaces(PGraphics buffer, Iterable<Place> places) {
buffer.imageMode(CENTER);
buffer.strokeWeight(0.8);
strokeWeight(0.8);
for (Place place : places) {
if (place.sightingCount > 0){
float maxPointValue = map(zoomValue, minZoom, maxZoom, minPointSize, maxPointSize);
Expand Down
4 changes: 2 additions & 2 deletions cs424p3.pde
Expand Up @@ -160,8 +160,8 @@ void updateFilter()
newFilter.viewMaxMonth = 1 + settingsView.monthSlider.maxIndex();
}
if (btwTime) {
newFilter.viewMinHour = 1 + settingsView.timeSlider.minIndex();
newFilter.viewMaxHour = 1 + settingsView.timeSlider.maxIndex();
newFilter.viewMinHour = settingsView.timeSlider.minIndex();
newFilter.viewMaxHour = settingsView.timeSlider.maxIndex();
}

if (!newFilter.equals(activeFilter)) {
Expand Down

0 comments on commit f9b1483

Please sign in to comment.