@electerm/electerm-react 1.39.46 → 1.39.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/components/setting-panel/list.styl +3 -0
- package/client/components/terminal/index.jsx +2 -1
- package/client/components/terminal-theme/theme-list.jsx +2 -2
- package/client/components/tree-list/tree-list-item.jsx +0 -1
- package/client/components/tree-list/tree-list.jsx +1 -1
- package/package.json +1 -1
|
@@ -1044,7 +1044,8 @@ class Term extends Component {
|
|
|
1044
1044
|
this.attachAddon._sendData(obj.script + '\r')
|
|
1045
1045
|
}
|
|
1046
1046
|
if (delayedScripts.length > 0) {
|
|
1047
|
-
|
|
1047
|
+
const nextDelay = delayedScripts[0].delay || 0
|
|
1048
|
+
this.timers.timerDelay = setTimeout(this.runDelayedScripts, nextDelay)
|
|
1048
1049
|
}
|
|
1049
1050
|
}
|
|
1050
1051
|
}
|
|
@@ -51,7 +51,7 @@ export default class ThemeList extends List {
|
|
|
51
51
|
renderItem = (item, i) => {
|
|
52
52
|
const { activeItemId } = this.props
|
|
53
53
|
const { theme } = this.props
|
|
54
|
-
const { name, id } = item
|
|
54
|
+
const { name, id, type } = item
|
|
55
55
|
const cls = classnames(
|
|
56
56
|
'item-list-unit theme-item',
|
|
57
57
|
{
|
|
@@ -83,7 +83,7 @@ export default class ThemeList extends List {
|
|
|
83
83
|
{title}
|
|
84
84
|
</div>
|
|
85
85
|
{
|
|
86
|
-
id === defaultTheme.id
|
|
86
|
+
id === defaultTheme.id || type === 'iterm'
|
|
87
87
|
? null
|
|
88
88
|
: this.renderDelBtn(item)
|
|
89
89
|
}
|