зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1248907 - Remove hard-coded responsive view size to mulet when launching Gaia. r=ochameau
This commit is contained in:
Родитель
b924602928
Коммит
9b07a501ff
|
@ -141,16 +141,6 @@ function initResponsiveDesign() {
|
|||
|
||||
// Enable touch events
|
||||
responsive.enableTouch();
|
||||
|
||||
// Automatically toggle responsive design mode
|
||||
let width = 320, height = 480;
|
||||
// We have to take into account padding and border introduced with the
|
||||
// device look'n feel:
|
||||
width += 15*2; // Horizontal padding
|
||||
width += 1*2; // Vertical border
|
||||
height += 60; // Top Padding
|
||||
height += 1; // Top border
|
||||
responsive.setSize(width, height);
|
||||
});
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче