Fixed zooming bug in native-host-ext [Chrome] (#1936)

Co-authored-by: alazymeme <jkeasley@icloud.com>
Co-authored-by: 23rd <23rd@vivaldi.net>
Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Matthew Marlow
2021-07-25 08:13:21 -05:00
committed by GitHub
parent 700e092bf6
commit 6052a0ede6
4 changed files with 27 additions and 8 deletions
+4 -2
View File
@@ -17,7 +17,8 @@ public:
struct GetArgs {
QString winId;
int yOffset = -1;
int x = -1;
double x = -1;
double pixelRatio = -1;
int width = -1;
int height = -1;
bool fullscreen = false;
@@ -54,7 +55,8 @@ private:
void *target_;
int yOffset_;
int currentYOffset_;
int x_ = -1;
double x_ = -1;
double pixelRatio_ = -1;
int width_ = 360;
int height_ = -1;
bool fullscreen_ = false;