[UWP] Remove 1px offset to make root widget fully shown (flutter/engine#27922)

This commit is contained in:
moko256
2021-10-15 05:03:01 +09:00
committed by GitHub
parent 81aaa04bce
commit 28b5d6b9a4

View File

@@ -68,11 +68,12 @@ class DisplayHelperWinUWP {
// Is current context is executing on a large screen device.
bool large_screen_device_ = false;
// Current X overscan compensation factor.
float render_target_x_offset_ = 1.0f;
// Current Y overscan compensation factor.
float render_target_y_offset_ = 1.0f;
// Current overscan compensation factors.
//
// The default value is no offset from the window's top-left, used when
// large_screen_device_ is false (normal desktop).
float render_target_x_offset_ = 0.0f;
float render_target_y_offset_ = 0.0f;
};
} // namespace flutter