[perf-web] Redraw display on window resize/zoom
- From: Owen Taylor <otaylor src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perf-web] Redraw display on window resize/zoom
- Date: Wed, 23 Jul 2014 00:37:33 +0000 (UTC)
commit 5bfe63f47c9ff4c61f31c7d6f32144ba2bbd0600
Author: Owen W. Taylor <otaylor fishsoup net>
Date: Sun Jun 29 11:26:59 2014 -0400
Redraw display on window resize/zoom
static/main.js | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/static/main.js b/static/main.js
index 3cd6529..b87761e 100644
--- a/static/main.js
+++ b/static/main.js
@@ -999,6 +999,10 @@ PerfDisplay.prototype.onWindowLoaded = function() {
true);
}.bind(this));
+ $( window ).resize(function() {
+ this.refresh();
+ }.bind(this));
+
if (this.loadedStartSeconds != null)
this.refresh();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]