diff options
author | Lorenzo Tilve <ltilve@igalia.com> | 2021-05-04 14:35:07 +0200 |
---|---|---|
committer | Lorenzo Tilve <ltilve@igalia.com> | 2021-05-04 14:35:07 +0200 |
commit | 615446beb7005776b24835e48e95d2246c769621 (patch) | |
tree | 42fa65b01d47f03fd170713fa3884d914a15d7c8 /src/styles | |
parent | b82053421e20fc299786749f8eeccd9a561a0afd (diff) |
Disable dragging and zoom events on app imagesmarlin_12.93.0marlin_12.92.0marlin_12.91.0marlin_12.90.1marlin_12.90.0marlin/12.93.0marlin/12.92.0marlin/12.91.0marlin/12.90.1marlin/12.90.0lamprey_11.92.0lamprey_11.91.0lamprey/11.92.0lamprey/11.91.012.93.012.92.012.91.012.90.112.90.011.92.011.91.0
Events triggered by webapps on those actions were producing
some race conditions eventually causing a freeze.
So disabling those and hiding displaying draggable link.
Bug-AGL: SPEC-3786
Signed-off-by: Lorenzo Tilve <ltilve@igalia.com>
Change-Id: I404058f39ab90ee0ce87392d803a8693fc93a4ee
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/main.scss | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss index e3fa602..26def86 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -7,6 +7,7 @@ html { background-size: cover; -webkit-overflow-scrolling: touch; overflow: hidden; + user-select: none; } @keyframes blink{ 0% { opacity: .25;} @@ -15,6 +16,13 @@ html { 75% { opacity: .5;} 100%{ opacity: .25;} } + +img { + user-select: none !important; + touch-action: none; + pointer-events: none; +} + body { overflow: hidden; @@ -31,4 +39,4 @@ body { background: white; font-size: 1.5rem; } -}
\ No newline at end of file +} |