Update "General UI Polish – Artifact Carousel tweaks"

-Adjust curved clipper for taller spade/pyramid masks. -Wonder graphics adjustments for moons petra/pyramids

Update scale for >1000

Tested on macOS, ipad pro (port/land), iphone 14 Pro, samsung active tab pro.
This commit is contained in:
Jared Bell 2022-12-21 19:52:41 -07:00
parent fce6506862
commit c799eefcd8
4 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ class AppStyle {
} else if (screenSize > 1400) { } else if (screenSize > 1400) {
scale = 1.15; scale = 1.15;
} else if (screenSize > 1000) { } else if (screenSize > 1000) {
scale = 1.25; scale = 1.1;
} else if (screenSize > 800) { } else if (screenSize > 800) {
scale = 1; scale = 1;
} else { } else {

View File

@ -39,7 +39,7 @@ class ArchPoint {
} }
List<ArchPoint> _getArchPts(Size size, ArchType type) { List<ArchPoint> _getArchPts(Size size, ArchType type) {
double distanceFromTop = size.width / 2.5; double distanceFromTop = size.width / 3;
switch (type) { switch (type) {
case ArchType.pyramid: case ArchType.pyramid:
return [ return [

View File

@ -37,7 +37,7 @@ class PetraIllustration extends StatelessWidget {
), ),
IllustrationPiece( IllustrationPiece(
fileName: 'moon.png', fileName: 'moon.png',
initialOffset: Offset(0, 50), initialOffset: Offset(0, -150),
heightFactor: .15, heightFactor: .15,
minHeight: 50, minHeight: 50,
alignment: Alignment.topCenter, alignment: Alignment.topCenter,

View File

@ -41,7 +41,7 @@ class PyramidsGizaIllustration extends StatelessWidget {
enableHero: true, enableHero: true,
heightFactor: .15, heightFactor: .15,
minHeight: 100, minHeight: 100,
offset: config.shortMode ? Offset(180, context.heightPx * -.09) : Offset(250, context.heightPx * -.3), offset: config.shortMode ? Offset(120, context.heightPx * -.05) : Offset(120, context.heightPx * -.35),
zoomAmt: .05, zoomAmt: .05,
), ),
]; ];