getScreenHeight method
Implementation
double getScreenHeight() {
double heightCalc = useShortestSide
? (windowWidth < windowHeight ? windowHeight : windowWidth)
: windowHeight;
return heightCalc;
}
double getScreenHeight() {
double heightCalc = useShortestSide
? (windowWidth < windowHeight ? windowHeight : windowWidth)
: windowHeight;
return heightCalc;
}