Shortened code
This commit is contained in:
@@ -243,13 +243,7 @@ class GUIPageBuilder<T : ForInventory>(
|
|||||||
reverse: Boolean = false
|
reverse: Boolean = false
|
||||||
) = defineSlots(
|
) = defineSlots(
|
||||||
slots,
|
slots,
|
||||||
GUISpaceCompoundScrollButton(
|
GUISpaceCompoundScrollButton(icon, compound, scrollDistance.absoluteValue, scrollTimes, reverse)
|
||||||
icon,
|
|
||||||
compound,
|
|
||||||
scrollDistance.absoluteValue,
|
|
||||||
scrollTimes,
|
|
||||||
reverse
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -264,12 +258,7 @@ class GUIPageBuilder<T : ForInventory>(
|
|||||||
reverse: Boolean = false
|
reverse: Boolean = false
|
||||||
) = defineSlots(
|
) = defineSlots(
|
||||||
slots,
|
slots,
|
||||||
GUISpaceCompoundScrollButton(
|
GUISpaceCompoundScrollButton(icon, compound, scrollTimes, reverse)
|
||||||
icon,
|
|
||||||
compound,
|
|
||||||
scrollTimes,
|
|
||||||
reverse
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
Reference in New Issue
Block a user