Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: factor in monitor scaling for application library (#277)
This addresses the problem where the application library is too large when a scaling factor is applied. To fix this, we get the scale factor and apply to the height and width: monitorScale = 1/St.ThemeContext.get_for_stage(global.stage).scale_factor; height = Math.floor(monitorScale*monitor.height*.5 / 168) * 168 width = Math.ceil(monitorScale*monitor.width*.6 / 168) * 168 Fixes #290.
- Loading branch information