stuff
This commit is contained in:
parent
adaf33edae
commit
29dda4259e
|
@ -7657,7 +7657,6 @@
|
||||||
align: LibraryComponents.Flex.Align.CENTER,
|
align: LibraryComponents.Flex.Align.CENTER,
|
||||||
children: [
|
children: [
|
||||||
this.props.label ? BDFDB.ReactUtils.createElement(LibraryComponents.Flex.Child, {
|
this.props.label ? BDFDB.ReactUtils.createElement(LibraryComponents.Flex.Child, {
|
||||||
wrap: true,
|
|
||||||
children: BDFDB.ReactUtils.createElement(LibraryComponents.SettingsLabel, {
|
children: BDFDB.ReactUtils.createElement(LibraryComponents.SettingsLabel, {
|
||||||
mini: this.props.mini,
|
mini: this.props.mini,
|
||||||
label: this.props.label
|
label: this.props.label
|
||||||
|
@ -8064,20 +8063,16 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onMouseEnter: e => {
|
onMouseEnter: e => {
|
||||||
var ele = e.currentTarget;
|
if (BDFDB.DOMUtils.getRects(e.currentTarget).width < BDFDB.DOMUtils.getRects(e.currentTarget.firstElementChild).width) {
|
||||||
var inner = ele.firstElementChild;
|
|
||||||
if (BDFDB.DOMUtils.getRects(ele).width < BDFDB.DOMUtils.getRects(inner).width) {
|
|
||||||
this.scrolling = true;
|
this.scrolling = true;
|
||||||
inner.style.setProperty("display", "block", "important");
|
e.currentTarget.firstElementChild.style.setProperty("display", "block", "important");
|
||||||
this.scroll(1);
|
this.scroll(1);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onMouseLeave: e => {
|
onMouseLeave: e => {
|
||||||
var ele = e.currentTarget;
|
|
||||||
var inner = ele.firstElementChild;
|
|
||||||
if (this.scrolling) {
|
if (this.scrolling) {
|
||||||
delete this.scrolling;
|
delete this.scrolling;
|
||||||
inner.style.setProperty("display", "inline", "important");
|
e.currentTarget.firstElementChild.style.setProperty("display", "inline", "important");
|
||||||
this.scroll(0);
|
this.scroll(0);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue