mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-21 12:42:53 +00:00
[ci skip] spotlessApply with the new settings
This commit is contained in:
1 parent
07f445757b
commit
91bf137a94
809 files changed
+6761
-5793
No files matched your search
@@ -15,6 +15,7 @@ import binnie.extrabees.core.ExtraBeeTexture;
|
||||
import forestry.api.genetics.IChromosomeType;
|
||||
|
||||
public class ControlChromoPicker extends Control implements ITooltip {
|
||||
|
||||
Texture Selected;
|
||||
Texture Texture;
|
||||
IChromosomeType type;
|
||||
@@ -28,12 +29,14 @@ public class ControlChromoPicker extends Control implements ITooltip {
|
||||
addAttribute(WidgetAttribute.MOUSE_OVER);
|
||||
this.parent = parent;
|
||||
addSelfEventHandler(new EventWidget.StartMouseOver.Handler() {
|
||||
|
||||
@Override
|
||||
public void onEvent(EventWidget.StartMouseOver event) {
|
||||
callEvent(new EventValueChanged<Object>(getWidget(), type));
|
||||
}
|
||||
});
|
||||
addSelfEventHandler(new EventWidget.EndMouseOver.Handler() {
|
||||
|
||||
@Override
|
||||
public void onEvent(EventWidget.EndMouseOver event) {
|
||||
callEvent(new EventValueChanged<>(getWidget(), null));
|
||||
|
||||
Reference in new issue
Block a user