OSDN Git Service

Merge branch 'master' of https://scm.sourceforge.jp/gitroot/h58pcdgame/GameScriptCore...
author西田 耀 <hikarupsp@users.sourceforge.jp>
Wed, 21 Aug 2013 13:31:33 +0000 (22:31 +0900)
committer西田 耀 <hikarupsp@users.sourceforge.jp>
Wed, 21 Aug 2013 13:31:33 +0000 (22:31 +0900)
1  2 
www/corelib/classes/UserStateWidgetClass.js

@@@ -7,10 -7,10 +7,10 @@@ var UserStateWidgetClass = function(man
        
  }.extend(WidgetClass, {
        attach: function(){
-               this.wCanvas = createCanvas("UserStateWidgetCanvas", 240, 80, 395, 5, 8, "MainArea");
+               this.wCanvas = createCanvas("UserStateWidgetCanvas", 240, 80, 395, 5, 8, this.manager.mainArea);
                this.gContext = this.wCanvas.getContext('2d');
 -              this.gContext.globalAlpha = 0.25;
 -              this.gContext.fillStyle = "rgba(255,240,200,0.5)";
 +              this.gContext.globalAlpha = 1;
 +              this.gContext.fillStyle = "rgba(255,240,200,0.25)";
                this.gContext.strokeStyle = "rgba(128, 128, 128, 0.5)";
                this.gContext.font = "normal 20px sans-serif";
        },