Skip to content

Commit

Permalink
fix color scheme switching in generated mode
Browse files Browse the repository at this point in the history
bump version
  • Loading branch information
hanzhi713 committed Sep 21, 2019
1 parent 814812d commit 8760893
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "awesome-schedule",
"version": "7.1.0",
"version": "7.2.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
Expand Down
3 changes: 2 additions & 1 deletion src/App.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@ import { loadBuildingSearcher, loadTimeMatrix } from './data/BuildingLoader';
import Store, { parseFromURL } from './store';
import { getReleaseNote } from './utils';

const version = '7.1';
// need to change for every release
const version = '7.2';
/**
* returns whether the version stored in localStorage matches the current version
* then, override localStorage with the current version
Expand Down
2 changes: 1 addition & 1 deletion src/components/tabs/DisplayView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
id="schedule-width"
v-model.number="display.width"
min="10"
step="1"
step="5"
max="1000"
type="number"
class="form-control form-control-sm"
Expand Down
2 changes: 2 additions & 0 deletions src/store/schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,8 @@ export class ScheduleStore implements StoreModule<ScheduleState, ScheduleStateJS
* @param time
*/
recomputeAll(sync = true, time = 10) {
if (this.currentSchedule !== this.proposedSchedule)
this.currentSchedule.computeSchedule(sync, time);
this.proposedSchedules.forEach(s => s.computeSchedule(sync, time));
}

Expand Down

0 comments on commit 8760893

Please sign in to comment.