UI: Properly size microprofile, make dpi transparent to unaware users.

This commit is contained in:
Dr. Chat
2017-08-03 22:34:12 -05:00
parent 707f4c96ba
commit 5430dd0cd0
5 changed files with 20 additions and 9 deletions

View File

@@ -178,8 +178,8 @@ void MicroprofileDrawer::SetupFont() {
MicroprofileDrawer::~MicroprofileDrawer() = default;
void MicroprofileDrawer::Begin() {
graphics_context_->immediate_drawer()->Begin(window_->width(),
window_->height());
graphics_context_->immediate_drawer()->Begin(window_->scaled_width(),
window_->scaled_height());
}
void MicroprofileDrawer::End() {