Review of "Monochrome Toggle" version 2

Details Page Preview

Quick Settings toggle for monochrome display.

Extension Homepage
https://github.com/SpiritualRose/monochrome-toggle

No comments.

Diff Against

Files

Note: Binary files aren't shown on the web site. To see all files, please download the extension zipfile.

Shexli (experimental) warning 1

Shexli found 1 issue that may need reviewer attention.

EGO-L-007 warning

main loop sources should be removed before being recreated

Main loop sources should be removed before creating a new source on the same field.

Remove main loop sources

  • extension.js:295
                this._animationId = GLib.timeout_add(GLib.PRIORITY_DEFAULT, FRAME_MS, () => {
                    Main.uiGroup.queue_redraw();
                    framesLeft -= 1;
    
                    if (framesLeft > 0)
                        return GLib.SOURCE_CONTINUE;
    
                    this._animationId = 0;
          

All Versions

Version Status
2 Unreviewed
1 Active