Skip to content

Commit

Permalink
Changed pref size window and setting issues for lagHours/Minutes
Browse files Browse the repository at this point in the history
Everytime you clone sandman the two lines setting the lagHours and Minutes must be uncommentedfor one run. This is so the setting will be there and then from there when you uncomment it the program works as intended

Former-commit-id: eb9e490
Former-commit-id: cf53c35
  • Loading branch information
Alexander Epstein authored and Alexander Epstein committed May 15, 2017
1 parent f71e3aa commit ae592e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions js/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ function generateSleepTimes() {

function setTime() { //called when set wakeup time button is pressed
settings.set("Version","v1.6.0");
//settings.set("lagHours","0");
//settings.set("lagMinutes","15");
time = document.getElementById("alarmTime").value; //grab the wake up time
generateSleepTimes(); //determine sleepTimes based off of wakeuptime
setSleepTimes(); //determine the sleepTimes in formatted form to be shown to user
Expand Down
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ app.on("ready", function(){
} },
{
label: "Preferences", click: function(){ //shows the about window
pref = new BrowserWindow({width: 400, height: 620, resizable: false});
pref = new BrowserWindow({width: 400, height: 650, resizable: false});
pref.setMenu(null); //the about window has no menu
pref.loadURL(url.format({ //loads the webpage for the about window
pathname: path.join(__dirname, "preferences.html"),
Expand Down

0 comments on commit ae592e6

Please sign in to comment.