OSDN Git Service

辛夷祭当日の変更を含む最終コミット
[h58pcdgame/GameScriptCoreLibrary.git] / www / corelib / classes / MessageWidgetClass.js
index c553b48..7677f94 100644 (file)
@@ -31,7 +31,7 @@ var MessageWidgetClass = function(manager, args)
        this.closed = args[2];\r
        \r
        this.modalFunc = null;\r
-       \r
+       this.cancelKeyEnabled = true;\r
 }.extend(WidgetClass, {\r
        attach : function(){\r
                var that = this;\r
@@ -61,7 +61,7 @@ var MessageWidgetClass = function(manager, args)
                if(!this.wBox) return true;\r
                if(this.manager.UIManager.keyState.cursorUp)\r
                {\r
-                       if(!this.upKeyPushed)\r
+                       if(!this.upKeyPushed && this.cancelKeyEnabled)\r
                        {\r
                                this.upKeyPushed = true;\r
                                //\83\81\83b\83Z\81[\83W\82ð\95Â\82\82é\r