@nxtedition/lib 23.12.0 → 23.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/ass.js +1 -1
  2. package/package.json +1 -1
package/ass.js CHANGED
@@ -123,7 +123,7 @@ function formatDialogues(events, styles, scriptResX, futureWordWrapping) {
123
123
  }
124
124
 
125
125
  const styleName = style || 'nxt-default'
126
- const eventStyle = styles[styleName]
126
+ const eventStyle = styles[styleName] ?? {}
127
127
  const textOptions = {
128
128
  fontSize: parseFloat(eventStyle.fontsize || '32'),
129
129
  fontFamily: eventStyle.fontname ?? 'Arial',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nxtedition/lib",
3
- "version": "23.12.0",
3
+ "version": "23.12.1",
4
4
  "license": "MIT",
5
5
  "author": "Robert Nagy <robert.nagy@boffins.se>",
6
6
  "type": "module",