Skip to content

Commit

Permalink
same thing here
Browse files Browse the repository at this point in the history
  • Loading branch information
yuri-kiss committed Mar 3, 2025
1 parent 5c1859e commit 5d8898a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"es6-object-assign": "1.1.0",
"get-float-time-domain-data": "0.1.0",
"get-user-media-promise": "1.1.4",
"immutable": "3.8.2",
"immutable": "^3.8.2",
"intl": "1.2.5",
"intl-messageformat": "^2.2.0",
"js-base64": "2.4.9",
Expand Down
6 changes: 3 additions & 3 deletions src/components/monitor/list-monitor-scroller.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ListMonitorScroller extends React.Component {
<div className={styles.listIndex}>{index + 1 /* one indexed */}</div>
<div
className={styles.listValue}
dataIndex={index}
data-index={index}
style={{
background: this.props.categoryColor.background,
color: this.props.categoryColor.text
Expand All @@ -52,9 +52,9 @@ class ListMonitorScroller extends React.Component {
<div className={styles.inputWrapper}>
<input
autoFocus
autoComplete={false}
autoComplete={'false'}
className={classNames(styles.listInput, 'no-drag')}
spellCheck={false}
spellCheck={'false'}
style={{color: this.props.categoryColor.text}}
type="text"
value={sanitize(this.props.activeValue)}
Expand Down
4 changes: 2 additions & 2 deletions src/components/monitor/monitor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const MonitorComponent = props => (
disable={!props.draggable && !props.onExport}
holdToDisplay={props.mode === 'slider' ? -1 : 1000}
id={`monitor-${props.label}`}
>
><React.Fragment>
<Draggable
bounds=".monitor-overlay" // Class for monitor container
cancel=".no-drag" // Class used for slider input to prevent drag
Expand Down Expand Up @@ -181,7 +181,7 @@ const MonitorComponent = props => (
</BorderedMenuItem>}
</ContextMenu>
), document.body)}
</ContextMenuTrigger>
</React.Fragment></ContextMenuTrigger>

);

Expand Down
6 changes: 5 additions & 1 deletion src/containers/list-monitor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,11 @@ ListMonitor.propTypes = {
targetId: PropTypes.string,
value: PropTypes.oneOfType([
PropTypes.number,
PropTypes.string
PropTypes.string,
PropTypes.arrayOf(PropTypes.oneOfType([
PropTypes.string,
PropTypes.number
]))
]),
vm: PropTypes.instanceOf(VM),
width: PropTypes.number,
Expand Down
2 changes: 1 addition & 1 deletion src/containers/monitor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ Monitor.propTypes = {
width: PropTypes.number,
x: PropTypes.number,
y: PropTypes.number,
locked: PropTypes.boolean,
locked: PropTypes.bool,
};
Monitor.defaultProps = {
theme: Theme.light
Expand Down

0 comments on commit 5d8898a

Please sign in to comment.