Skip to content

Commit

Permalink
Merge pull request #128 from Next2D/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
ienaga authored Aug 30, 2023
2 parents ed00b80 + 667fec0 commit bf0247d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion next2d.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@next2d/player",
"version": "1.17.4",
"version": "1.17.5",
"description": "Experience the fast and beautiful anti-aliased rendering of WebGL. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.",
"author": "Toshiyuki Ienaga<ienaga@tvon.jp> (https://github.com/ienaga/)",
"license": "MIT",
Expand Down Expand Up @@ -38,11 +38,11 @@
"devDependencies": {
"@babel/core": "^7.22.11",
"@babel/plugin-transform-modules-commonjs": "^7.22.11",
"@babel/preset-env": "^7.22.10",
"@babel/preset-env": "^7.22.14",
"@next2d/jsdoc-template": "^1.0.7",
"@types/jest": "^29.5.4",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@typescript-eslint/eslint-plugin": "^6.5.0",
"@typescript-eslint/parser": "^6.5.0",
"eslint": "^8.48.0",
"eslint-webpack-plugin": "^4.0.1",
"fflate": "^0.8.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/text/src/TextParser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ export const parsePlainText = (

for (let idx: number = 0; idx < lineText.length; ++idx) {

if (options.wordWrap || options.multiline) {
if (idx === 0 || options.wordWrap || options.multiline) {
_$createNewLine(textData, textFormat);
}

Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { Next2D } from "@next2d/core";

if (!("next2d" in window)) {

console.log("%c Next2D Player %c 1.17.4 %c https://next2d.app",
console.log("%c Next2D Player %c 1.17.5 %c https://next2d.app",
"color: #fff; background: #5f5f5f",
"color: #fff; background: #4bc729",
"");
Expand Down

0 comments on commit bf0247d

Please sign in to comment.