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; }} />