Fixed accessibility issue where few dialogs are not rendering properly

when we zoomed in browser window 200% and screen resolution is low.

Fixes #5662
This commit is contained in:
Murtuza Zabuawala
2020-07-09 18:18:15 +05:30
committed by Akshay Joshi
parent 3c08e618bd
commit 2db9242f5c
9 changed files with 61 additions and 10 deletions

View File

@@ -424,7 +424,7 @@ define('tools.restore', [
let dialog = new restoreDialog.RestoreDialog(
pgBrowser, $, alertify, RestoreObjectModel
);
dialog.draw(action, treeItem, pgBrowser.stdW.md, pgBrowser.stdH.md);
dialog.draw(action, treeItem, pgBrowser.stdW.calc(), pgBrowser.stdH.calc());
},
};
return pgBrowser.Restore;