From d6ae4209e4ef1e248fbc15d8febae761c27a7790 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20van=20der=20Essen?= Date: Mon, 14 Oct 2013 18:34:14 +0200 Subject: [PATCH] [IMP] point_of_sale: hardware acceleration for scrolling bzr revid: fva@openerp.com-20131014163414-x3mub8q5ajsqvsdl --- addons/point_of_sale/static/src/css/pos.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/src/css/pos.css b/addons/point_of_sale/static/src/css/pos.css index 5a2cd74e8be..487a9a6c41c 100644 --- a/addons/point_of_sale/static/src/css/pos.css +++ b/addons/point_of_sale/static/src/css/pos.css @@ -358,6 +358,7 @@ .point-of-sale .product-list { padding:10px !important; + -webkit-transform: translate3d(0,0,0); } .point-of-sale .product-list-scroller{ @@ -368,7 +369,9 @@ width:100%; height:100%; overflow: hidden; - overflow-y: auto; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; + } .point-of-sale .product-list-container { position:absolute; @@ -911,7 +914,8 @@ width:100%; height:100%; overflow:hidden; - overflow-y: auto; + overflow-y: scroll; + -webkit-overflow-scrolling: touch; } .point-of-sale .order{ @@ -925,6 +929,7 @@ font-size:16px; border-radius: 3px; border: solid 1px rgb(220,220,220); + -webkit-transform: translate3d(0,0,0); } .point-of-sale .order .empty{