Skip to content

Zoom and enhance - #1720

Merged
joshaber merged 25 commits into
masterfrom
zoom-and-enhance
May 26, 2017
Merged

joshaber merged 25 commits into
masterfrom
zoom-and-enhance

Conversation

@niik

@niik niik commented May 23, 2017 •

Copy link
Copy Markdown
Member

wt0fxn

This enables zooming of the app along the same zoom scale that Chrome supports (110%, 125%, 150%, 175% and 200%)

cc #1646, #1547

Fixes #1217

@niik niik mentioned this pull request May 24, 2017
@niik
niik force-pushed the zoom-and-enhance branch from fc5e98f to a7b085a Compare May 25, 2017 18:13
@niik niik added the ready-for-review Pull Requests that are ready to be reviewed by the maintainers label May 26, 2017
@niik

niik commented May 26, 2017

Copy link
Copy Markdown
Member Author

This is ready for review now. The only remaining issue we have is that certain zoom levels on Windows (or rather on 100% DPI monitors) will cause a rounding issue with our file list items that cause the list item border to disappear. This is temporary and goes away as soon as you resize the sidebar or switch between history/changes so I don't think it's worth holding up this PR for. It might fix itself with newer version of Chromium. A workaround would be for us to bump the list item height from 29px to 30px such that the rounding error doesn't occur but I didn't want to do that without talking to @donokuda first as he put in a lot of time to arrive at that 29px height.

@joshaber joshaber self-assigned this May 26, 2017

@joshaber joshaber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Just a nit, otherwise looks great 😍

Comment thread app/src/lib/app-state.ts
*/
readonly windowState: WindowState

/**

This comment was marked as spam.

font-weight: var(--font-weight-semibold);

// This is so sad but CodeMirror uses z-indexes like crazy
// and we need to make sure we stay above all of that.

This comment was marked as spam.

@niik

niik commented May 26, 2017

Copy link
Copy Markdown
Member Author

🐨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-review Pull Requests that are ready to be reviewed by the maintainers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants