MCPcopy Create free account
hub / github.com/Card-Forge/forge / getContainer

Method getContainer

forge-gui-mobile/src/forge/menu/FDropDown.java:56–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

54 }
55
56 protected FContainer getContainer() {
57 FContainer container = dropDownContainer;
58 if (container == null) {
59 container = FOverlay.getTopOverlay();
60 if (container == null) {
61 container = Forge.getCurrentScreen();
62 }
63 }
64 return container;
65 }
66
67 public void update() {
68 if (isVisible()) {

Callers 3

setVisibleMethod · 0.95
hideActionMethod · 0.80
updateSizeAndPositionMethod · 0.80

Calls 2

getTopOverlayMethod · 0.95
getCurrentScreenMethod · 0.95

Tested by

no test coverage detected