Improve performance by removing signal-based zoom-in, zoom-out, etc functionality from the runtime environment. #5723

This commit is contained in:
Nikhil Mohite
2023-01-17 17:18:35 +05:30
committed by GitHub
parent e0a3420cd9
commit a48828e7a3
11 changed files with 157 additions and 192 deletions

View File

@@ -120,7 +120,7 @@ export default class SchemaDiff {
window.open(baseUrl, '_blank');
// Send the signal to runtime, so that proper zoom level will be set.
setTimeout(function () {
this.pgBrowser.send_signal_to_runtime('Runtime new window opened');
self.pgBrowser.Events.trigger('pgadmin:nw-set-new-window-open-size');
}, 500);
} else {
this.pgBrowser.Events.once(