From f2c32e89a6673ff5d00aed74faf77eadf7f43997 Mon Sep 17 00:00:00 2001 From: Meru Patel <2017180@iiitdmj.ac.in> Date: Thu, 13 Sep 2018 07:30:19 +0530 Subject: [PATCH] variable name change --- client/modules/IDE/components/Console.jsx | 6 +++--- client/modules/IDE/pages/IDEView.jsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/client/modules/IDE/components/Console.jsx b/client/modules/IDE/components/Console.jsx index c9702c08..b93bcf95 100644 --- a/client/modules/IDE/components/Console.jsx +++ b/client/modules/IDE/components/Console.jsx @@ -24,7 +24,7 @@ class Console extends React.Component { this.props.dispatchConsoleEvent(this.props.consoleEvents); } - if (this.props.consoleFontSize !== prevProps.consoleFontSize) { + if (this.props.fontSize !== prevProps.fontSize) { this.props.clearConsole(); this.props.dispatchConsoleEvent(this.props.consoleEvents); } @@ -37,14 +37,14 @@ class Console extends React.Component { LOG_ERROR_ICON: `url(${errorLightUrl})`, LOG_DEBUG_ICON: `url(${debugLightUrl})`, LOG_INFO_ICON: `url(${infoLightUrl})`, - BASE_FONT_SIZE: `${this.props.consoleFontSize}` + BASE_FONT_SIZE: `${this.props.fontSize}` }; const CONSOLE_FEED_DARK_ICONS = { LOG_WARN_ICON: `url(${warnDarkUrl})`, LOG_ERROR_ICON: `url(${errorDarkUrl})`, LOG_DEBUG_ICON: `url(${debugDarkUrl})`, LOG_INFO_ICON: `url(${infoDarkUrl})`, - BASE_FONT_SIZE: `${this.props.consoleFontSize}` + BASE_FONT_SIZE: `${this.props.fontSize}` }; if (times > 1) { Object.assign(style, CONSOLE_FEED_WITHOUT_ICONS); diff --git a/client/modules/IDE/pages/IDEView.jsx b/client/modules/IDE/pages/IDEView.jsx index 02f404ca..f083f440 100644 --- a/client/modules/IDE/pages/IDEView.jsx +++ b/client/modules/IDE/pages/IDEView.jsx @@ -357,7 +357,7 @@ class IDEView extends React.Component { provideController={(ctl) => { this.cmController = ctl; }} />