From 94d15fcdb666a1fc71e1e95b90330a692c87d627 Mon Sep 17 00:00:00 2001 From: Azke Date: Mon, 10 Dec 2018 18:21:21 +0100 Subject: [PATCH] v0.3.3 frame number pushed to the right --- script.user.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/script.user.js b/script.user.js index 5e35714..b3246eb 100644 --- a/script.user.js +++ b/script.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name CG Enhancer // @namespace https://cgenhancer.azke.fr -// @version 0.3.2 +// @version 0.3.3 // @description Enhancer script for CodinGame platform // @match https://www.codingame.com/* // @copyright 2018+, Azkellas, https://github.com/Azkellas/ @@ -329,6 +329,11 @@ const cgSyncActive = $('.code-editor-readonly').length; + consoleBloc.find('.frame-number-bloc').each(function(idx, element) { + if ($(element).css('right') !== '-15px') + $(element).css('right', '-15px'); + }); + // console on the right side, pair statement-agent, ide-console if (cgSyncActive) {