Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create better status bar API + Structure, add time to status bar #5

Closed
wants to merge 2 commits into from
Closed

Conversation

ferndot
Copy link
Member

@ferndot ferndot commented Jul 2, 2015

No description provided.

bar.addItem(clock);

// Update clock on time changes (500 to account for errant synchronization)
setInterval(updateTime,500);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you line this up entirely by doing a setTimeout with 1000 - currentTime.getMilliseconds() after you update the time?

@twiss
Copy link
Member

twiss commented Jul 2, 2015

Cool! Could you horizontally center the clock and have the cursor be default? Also, was it intentional to make the power button larger?

@ferndot
Copy link
Member Author

ferndot commented Jul 3, 2015

If we are using the status bar for minimized (or maximized #6) windows, does it make sense to center the clock? I have addressed all your other comments!

@twiss
Copy link
Member

twiss commented Jul 3, 2015

Er, I meant vertically center. Sorry.

@ferndot
Copy link
Member Author

ferndot commented Jul 3, 2015

Done!

@twiss
Copy link
Member

twiss commented Jul 3, 2015

👍. Two more things: the barMenus look a little weird now, could you give #togglePowerMenu and .barMenu the old padding? And two, it doesn't fit on mobile, you could remove the clock there. There's a deviceType variable.

@twiss twiss force-pushed the master branch 2 times, most recently from 0b9352f to cec9cb4 Compare August 10, 2015 21:05
@twiss
Copy link
Member

twiss commented Aug 10, 2015

Merged as cec9cb4. Thanks!

@twiss twiss closed this Aug 10, 2015
@ferndot ferndot deleted the bar-update branch September 10, 2015 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants