From 9322a50fb67cc7fe0e938d08c5165b652da6e7e1 Mon Sep 17 00:00:00 2001 From: ienaga Date: Thu, 11 Jun 2026 20:01:52 +0900 Subject: [PATCH] =?UTF-8?q?#290=20Stage=E5=88=A4=E5=88=A5=E7=94=A8?= =?UTF-8?q?=E3=81=ABisStage=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package-lock.json | 4 ++-- package.json | 2 +- packages/display/src/Stage.ts | 11 +++++++++++ src/index.ts | 2 +- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 9a5dfc83..0db8286b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@next2d/player", - "version": "3.5.0", + "version": "3.6.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@next2d/player", - "version": "3.5.0", + "version": "3.6.0", "license": "MIT", "workspaces": [ "packages/*" diff --git a/package.json b/package.json index c3cb9652..9bc020ee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@next2d/player", - "version": "3.5.0", + "version": "3.6.0", "description": "Experience the fast and beautiful anti-aliased rendering of WebGL/WebGPU. You can create rich, interactive graphics, cross-platform applications and games without worrying about browser or device compatibility.", "author": "Toshiyuki Ienaga (https://github.com/ienaga/)", "license": "MIT", diff --git a/packages/display/src/Stage.ts b/packages/display/src/Stage.ts index e5a53006..a37447fe 100644 --- a/packages/display/src/Stage.ts +++ b/packages/display/src/Stage.ts @@ -98,6 +98,16 @@ export class Stage extends DisplayObjectContainer */ private _$backgroundColor: number; + /** + * @description Stageの機能を所持しているかを返却 + * Returns whether Stage functions are possessed. + * + * @type {boolean} + * @readonly + * @public + */ + public readonly isStage: boolean; + /** * @constructor * @public @@ -117,6 +127,7 @@ export class Stage extends DisplayObjectContainer // private this._$ready = false; this._$backgroundColor = -1; + this.isStage = true; } /** diff --git a/src/index.ts b/src/index.ts index 937ab919..32a3817e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -3,7 +3,7 @@ import { Next2D } from "@next2d/core"; if (!("next2d" in window)) { - console.log("%c Next2D Player %c 3.5.0 %c https://next2d.app", + console.log("%c Next2D Player %c 3.6.0 %c https://next2d.app", "color: #fff; background: #5f5f5f", "color: #fff; background: #4bc729", "");