diff --git a/editor/js/ui/tab-info.js b/editor/js/ui/tab-info.js index 1210b8449..d95cdca92 100644 --- a/editor/js/ui/tab-info.js +++ b/editor/js/ui/tab-info.js @@ -84,8 +84,11 @@ RED.sidebar.info = (function() { content: content, enableOnEdit: true }); - - tips.start(); + if (tips.enabled()) { + tips.start(); + } else { + tips.stop(); + } } @@ -333,7 +336,8 @@ RED.sidebar.info = (function() { return { start: startTips, stop: stopTips, - next: nextTip + next: nextTip, + enabled: function() { return enabled; } } })();