Skip to content

Commit

Permalink
examples : fix performance issue on some browsers
Browse files Browse the repository at this point in the history
For example, Safari becomes super slow when the outline of the HTML
element is enabled.
  • Loading branch information
ggerganov committed Mar 13, 2022
1 parent 101e7b5 commit 19eceb7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions examples/emscripten0/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ body {
font: sans-serif;
}
.no-sel {
outline: none;
-moz-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
Expand Down
1 change: 1 addition & 0 deletions examples/hnterm/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ body {
font: sans-serif;
}
.no-sel {
outline: none;
-moz-user-select: none;
-webkit-user-select: none;
-webkit-touch-callout: none;
Expand Down

0 comments on commit 19eceb7

Please sign in to comment.