Optmi object list checkbox style

This commit is contained in:
MrKBear 2022-04-04 16:44:16 +08:00
parent 2cf9a22907
commit a23b5d62cc
2 changed files with 7 additions and 7 deletions

View File

@ -20,16 +20,19 @@ div.object-list {
opacity: 0; opacity: 0;
} }
i.checkbox-icon:hover {
color: $lt-green;
}
i.type-icon { i.type-icon {
display: inline-block; display: inline-block;
opacity: 1; opacity: 1;
} }
} }
div.object-list-checkbox:hover {
i.checkbox-icon {
color: $lt-green !important;
}
}
div.details-list-item:hover { div.details-list-item:hover {
div.object-list-checkbox { div.object-list-checkbox {

View File

@ -51,9 +51,6 @@ class ObjectList extends Component<IMixinStatusProps & IMixinSettingProps> {
} }
}} }}
checkBox={(item) => { checkBox={(item) => {
if (this.props.setting) {
this.props.setting.layout.focus("ObjectList");
}
if (this.props.status) { if (this.props.status) {
if ( if (
this.props.status.focusObject.has(item.key.toString()) || this.props.status.focusObject.has(item.key.toString()) ||