diff --git a/src/locales/en.json b/src/locales/en.json
index 221bbfa..5f414f4 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -140,6 +140,15 @@
"stageSize": {
"string": "Stage Size"
},
+ "preserveRatio": {
+ "string": "Preserve aspect ratio when resized (recommended)"
+ },
+ "stretch": {
+ "string": "Stretch stage to fill screen without changing actual size (experimental)"
+ },
+ "dynamicResize": {
+ "string": "Dynamically resize size to match window size (experimental)"
+ },
"username": {
"string": "Username (each \"#\" gets replaced with a random number)"
},
@@ -303,9 +312,6 @@
"warpTimer": {
"string": "Warp Timer"
},
- "dynamicResize": {
- "string": "Dynamically resize stage to fill page (overrides stage size setting)"
- },
"projectId": {
"string": "Project ID"
},
diff --git a/src/p4/PackagerOptions.svelte b/src/p4/PackagerOptions.svelte
index f4c8c68..d62133a 100644
--- a/src/p4/PackagerOptions.svelte
+++ b/src/p4/PackagerOptions.svelte
@@ -170,9 +170,13 @@
min-width: 100%;
height: 150px;
}
+ /* TODO: fix the option-group mess */
.option-group {
margin-bottom: 12px;
}
+ .stage-size-section {
+ margin-top: 12px;
+ }
input:invalid {
outline: 2px solid red;
}
@@ -198,6 +202,7 @@
'miscLimits',
'stageWidth',
'stageHeight',
+ 'resizeMode',
'username'
]);
}}
@@ -251,17 +256,32 @@
{$_('options.removeMiscLimits')}
-
+
+
+
+
+
+
@@ -479,7 +499,6 @@
reset={() => {
resetOptions([
'compiler',
- 'resizeToFill',
'extensions',
'custom',
'projectId'
@@ -500,11 +519,6 @@
{$_('options.warpTimer')}
-