3
3
import com .badlogic .gdx .scenes .scene2d .Actor ;
4
4
import com .badlogic .gdx .scenes .scene2d .Event ;
5
5
import com .badlogic .gdx .scenes .scene2d .Stage ;
6
- import com .badlogic .gdx .scenes .scene2d .actions .RemoveActorAction ;
7
- import com .badlogic .gdx .scenes .scene2d .ui .*;
6
+ import com .badlogic .gdx .scenes .scene2d .ui .ScrollPane ;
8
7
import com .badlogic .gdx .scenes .scene2d .ui .ScrollPane .ScrollPaneStyle ;
9
- import com .badlogic .gdx .scenes .scene2d .utils .ChangeListener ;
8
+ import com .badlogic .gdx .scenes .scene2d .ui .Skin ;
9
+ import com .badlogic .gdx .scenes .scene2d .ui .TextButton ;
10
10
import com .badlogic .gdx .utils .Align ;
11
11
import com .badlogic .gdx .utils .Array ;
12
12
import com .ray3k .stripe .DraggableList .DraggableListListener ;
@@ -20,7 +20,6 @@ public class DraggableSelectBox extends TextButton {
20
20
private final DraggableTextList draggableTextList ;
21
21
private final PopTable popTable ;
22
22
private final ScrollPane scrollPane ;
23
- private final Cell <ScrollPane > scrollPaneCell ;
24
23
private DraggableSelectBoxStyle style ;
25
24
26
25
public DraggableSelectBox (Skin skin ) {
@@ -76,7 +75,7 @@ public void tableHidden(Event event) {
76
75
77
76
scrollPane = new ScrollPane (draggableTextList , style .scrollPaneStyle );
78
77
scrollPane .setFadeScrollBars (false );
79
- scrollPaneCell = popTable .add (scrollPane ).growX ();
78
+ popTable .add (scrollPane ).growX ();
80
79
}
81
80
82
81
@ Override
0 commit comments