Lenovo ThinkPad X1 Carbon 6th Gen (scale factor = 1.66666666)
Acer EB321HQU (scale factor = 1.0)
If calculated scale factor it not 1.0 in the environment (depends on dots per inch value?), the value egui::Context::pixels_per_point is automatically changed but it may be wrong.
So it is neccessary to reset manually this value to 1.0 by egui::Context::set_pixels_per_point() .
This PR tries to fix https://github.com/t-sin/soyboy-sp.vst3/issues/2 .
Tested on:
If calculated scale factor it not 1.0 in the environment (depends on dots per inch value?), the value
egui::Context::pixels_per_point
is automatically changed but it may be wrong. So it is neccessary to reset manually this value to1.0
byegui::Context::set_pixels_per_point()
.This PR fixes the issue https://github.com/t-sin/soyboy-sp.vst3/issues/2 but high DPI problems may occur in the future.