mirror of
https://github.com/johndoe6345789/tustu.git
synced 2026-04-25 14:15:20 +00:00
33 lines
1.2 KiB
Java
33 lines
1.2 KiB
Java
package ao;
|
|
|
|
import h.IOProperties;
|
|
import java.beans.PropertyChangeEvent;
|
|
import java.beans.PropertyChangeListener;
|
|
|
|
class aY implements PropertyChangeListener {
|
|
aY(aX paramaX) {}
|
|
|
|
public void propertyChange(PropertyChangeEvent paramPropertyChangeEvent) {
|
|
if (aX.a(this.a).r() != null && "dividerLocation".equals(paramPropertyChangeEvent.getPropertyName())) {
|
|
double d1 = aX.b(this.a).getDividerLocation();
|
|
double d2 = this.a.getHeight();
|
|
if (d1 <= 0.0D || d2 <= 0.0D)
|
|
return;
|
|
double d3 = d1 / d2;
|
|
IOProperties.c(IOProperties.W, "" + d3);
|
|
if (d3 < 0.88D && !IOProperties.e(IOProperties.N, IOProperties.R).equals(IOProperties.P)) {
|
|
aX.a(this.a).c(true);
|
|
} else if (this.a.getHeight() - aX.b(this.a).getDividerLocation() <= (this.a.b.e.getPreferredSize()).height + aX.b(this.a).getDividerSize()) {
|
|
if (IOProperties.Q.equals(IOProperties.e(IOProperties.N, IOProperties.R)))
|
|
aX.a(this.a).c(false);
|
|
this.a.t();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
/* Location: /home/rewrich/Downloads/TunerStudioMS/TunerStudioMS/!/ao/aY.class
|
|
* Java compiler version: 8 (52.0)
|
|
* JD-Core Version: 1.1.3
|
|
*/ |