Snap icon indicating copy to clipboard operation
Snap copied to clipboard

Flickering effect on background tab "Scripts"

Open Cortek29 opened this issue 9 years ago • 2 comments

Hi, I have sensitive eyes, and this background is very unpleasant for me... I found a solution for this flickering In file "gui.js" on line 183, the function "IDE_Morph.prototype.scriptsTexture" i modify this :

IDE_Morph.prototype.scriptsTexture = function () {
    var pic = newCanvas(new Point(100, 100)), // bigger scales faster
        ctx = pic.getContext('2d'),
        i;
    for (i = 0; i < 100; i += **10**) { **//instead 4**
        ctx.fillStyle = this.frameColor.toString();
        ctx.fillRect(i, 0, 1, 100);
        ctx.fillStyle = this.groupColor.lighter(2).toString();
        ctx.fillRect(i + 1, 0, 1, 100);
        ctx.fillRect(i + **20**, 0, 1, 100); **//instead 3**
        ctx.fillStyle = this.groupColor.toString();
        ctx.fillRect(i + 2, 0, 1, 100);
    }
    return pic;
};

If you can add an option to change this as a parameter... please :)

Cortek29 avatar Jul 18 '17 14:07 Cortek29

Yes please! While it wasn't much noticeable in desktops, we've purchased new chromebooks this year, and it's really annoying.

DavidGasku avatar Sep 06 '17 15:09 DavidGasku

As an imperfect work around, you might try flat design in the settings. It's got a gray-ish background.

cycomachead avatar Sep 06 '17 17:09 cycomachead