Skip to content

Commit

Permalink
v0.3.3 frame number pushed to the right
Browse files Browse the repository at this point in the history
  • Loading branch information
Azkellas committed Dec 10, 2018
1 parent 2158605 commit 94d15fc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion script.user.js
Original file line number Diff line number Diff line change
@@ -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/
Expand Down Expand Up @@ -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)
{
Expand Down

0 comments on commit 94d15fc

Please sign in to comment.