Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LQDN Adminsys
generateur-slogans
Commits
4d33a8a2
Verified
Commit
4d33a8a2
authored
Nov 20, 2017
by
Thibaut Broggi
Browse files
Fix rendering of text before font load (close
#16
)
parent
7f70fc3b
Pipeline
#1665
passed with stage
in 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
static/canvas.js
View file @
4d33a8a2
...
...
@@ -181,9 +181,9 @@ window.addEventListener('load', function() {
}
// Update canvas
document
.
fonts
.
ready
.
then
(
function
(
)
{
document
.
fonts
.
onloadingdone
=
function
(
fontFaceSetEvent
)
{
draw
();
}
);
}
});
let
randomElement
=
function
(
selector
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment