Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js

Issue 1013263002: Update Google Input Tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
diff --git a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
index a927fd47c71ccb93f9a705741b2e7d4628cc24dc..479db6b036d51eabf6b15531223aeb6eb7d1ed77 100644
--- a/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
+++ b/third_party/google_input_tools/src/chrome/os/inputview/elements/content/material/spacekey.js
@@ -184,7 +184,7 @@ SpaceKey.prototype.resize = function(width, height) {
goog.style.setSize(this.wrapper_, width, SpaceKey.HEIGHT);
// Positions the wrapper in the middle.
- this.wrapper_.style.top = (height - SpaceKey.HEIGHT) / 2 + 'px';
+ this.wrapper_.style.top = (this.availableHeight - SpaceKey.HEIGHT) / 2 + 'px';
};
}); // goog.scope

Powered by Google App Engine
This is Rietveld 408576698