Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.
Hi guys,
i have got a touch screen user interface that is made of HTML5.
User interface has some images that are swiped and zoomed.
However,
when i try to swipe or zoom the images, my browser is crashing any ideas what am i doing wrong?
The same user interface does not crash if i use regular Chrome.
The command switches in that link are used by Chromium or Chrome and many of them are supported by CEF3 too.
You can use them in CEF4Delphi by adding GlobalCEFApp.AddCustomCommandLine before the GlobalCEFApp.StartMainProcess call in the DPR file.
For example, if you want to disable compositor-accelerated touch-screen pinch gestures (zoom with 2 fingers) you would have to use --disable-pinch like this :
{ the following 3 lines are for disabling the zooming options.}
GlobalCEFApp.AddCustomCommandLine('--disable-pinch');
GlobalCEFApp.AddCustomCommandLine('--disable-touch-drag-drop');
GlobalCEFApp.AddCustomCommandLine('--compensate-for-unstable-pinch-zoom');