- Fixed line breaks in questions and answers

- Updated pixi.js and socket.io-admin-ui
This commit is contained in:
2021-06-15 08:59:05 +02:00
parent 566c03d33a
commit ea67ff8c95
6 changed files with 4383 additions and 13 deletions

View File

@@ -54,7 +54,7 @@
<script crossorigin="anonymous" referrerpolicy="no-referrer"
src="https://cdnjs.cloudflare.com/ajax/libs/socket.io/4.1.2/socket.io.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.0.2/browser/pixi.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/pixi.js/6.0.4/browser/pixi.js"></script>
<script src="js/Card.js"></script>
<script src="js/Button.js"></script>
<script src="js/Sprite.js"></script>

View File

@@ -38,7 +38,7 @@ function Button(default_color, hover_color, select_color, width, height, x, y, t
wordWrap: true,
wordWrapWidth: this.width,
breakWords: true,
lineJoin: 'miter'
padding: 50
});
this.graphics.clear();