summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLorenzo Tilve <ltilve@igalia.com>2021-05-04 14:30:07 +0200
committerLorenzo Tilve <ltilve@igalia.com>2021-05-04 14:30:39 +0200
commitc9c7e02873e723de50a0a4eb7277ad00c98bac46 (patch)
tree35be63287c813c1c5d3305b03631074e34e4d22f
parentf912e5b219b6268573cd9b1d27eb26846dc23ce1 (diff)
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: Ie3a381485be9931b0c61b8e140208696995305e5
-rw-r--r--src/styles/main.scss9
-rw-r--r--src/templates/playlist.template.html5
2 files changed, 10 insertions, 4 deletions
diff --git a/src/styles/main.scss b/src/styles/main.scss
index ab40398..afba538 100644
--- a/src/styles/main.scss
+++ b/src/styles/main.scss
@@ -6,6 +6,13 @@ html {
height: 100%;
background-size: cover;
-webkit-overflow-scrolling: touch;
+ user-select: none;
+}
+
+img {
+ user-select: none !important;
+ touch-action: none;
+ pointer-events: none;
}
body {
@@ -28,4 +35,4 @@ body {
background: white;
font-size: 1.5rem;
}
-} \ No newline at end of file
+}
diff --git a/src/templates/playlist.template.html b/src/templates/playlist.template.html
index d01f0d6..ece1734 100644
--- a/src/templates/playlist.template.html
+++ b/src/templates/playlist.template.html
@@ -1,7 +1,6 @@
<div class="list-group">
{{ #playlist }}
- <a href="#"
- class="list-group-item list-group-item-action {{ #isPlaying }}active{{ /isPlaying }}"
+ <a class="list-group-item list-group-item-action {{ #isPlaying }}active{{ /isPlaying }}"
onclick="player.play({{index}})">
<h6>
{{ title }}
@@ -12,4 +11,4 @@
</small>
</a>
{{ /playlist }}
-</div> \ No newline at end of file
+</div>
ef='#n252'>252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469