You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@brooklyn.apache.org by GitBox <gi...@apache.org> on 2019/03/12 18:39:19 UTC

[GitHub] [brooklyn-ui] tbouron commented on issue #127: Allow bigger zoom in, for large screen mainly

tbouron commented on issue #127: Allow bigger zoom in, for large screen mainly
URL: https://github.com/apache/brooklyn-ui/pull/127#issuecomment-472130406
 
 
   @ahgittin Good idea, but the function looks more like `log`, i.e for:
   - < 2k => `1`
   - 2k => `1`
   - 4k => `1.3`
   - 8k => `1.6`
   - etc
   
   So I would suggest the following function: `Math.max(1, 1+log(windowWidth/1024))` where `windowWidth/1024` should return `2` for 2k resolution and so on.
   
   I just pushed the changes

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services