Skip to content

Commit 2869ae9

Browse files
MartinZikmundclaude
andcommitted
fix: Change scale metadata types from int to float in build schema
Scale values are fractional (e.g., 0.5, 0.80, 1.00), so the schema type should be float, not int. Fixes UnoIcon and UnoSplashScreen metadata. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 7ceccc2 commit 2869ae9

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/Uno.Sdk/Sdk/Sdk.props.buildschema.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -355,27 +355,27 @@
355355
"description": "The path to the image file used in the foreground for your icon."
356356
},
357357
"ForegroundScale": {
358-
"type": "int",
358+
"type": "float",
359359
"description": "The scale factor for the foreground image."
360360
},
361361
"AndroidForegroundScale": {
362-
"type": "int",
362+
"type": "float",
363363
"description": "The scale factor for the foreground image on Android."
364364
},
365365
"WasmForegroundScale": {
366-
"type": "int",
366+
"type": "float",
367367
"description": "The scale factor for the foreground image on WebAssembly."
368368
},
369369
"WindowsForegroundScale": {
370-
"type": "int",
370+
"type": "float",
371371
"description": "The scale factor for the foreground image on Windows."
372372
},
373373
"IOSForegroundScale": {
374-
"type": "int",
374+
"type": "float",
375375
"description": "The scale factor for the foreground image on iOS."
376376
},
377377
"SkiaForegroundScale": {
378-
"type": "int",
378+
"type": "float",
379379
"description": "The scale factor for the foreground image on Skia."
380380
}
381381
}
@@ -385,27 +385,27 @@
385385
"description": "Provides a splash screen asset for Uno.Resizetizer to use for the application.",
386386
"metadata": {
387387
"Scale": {
388-
"type": "int",
388+
"type": "float",
389389
"description": "Used to scale the image that will be used as SplashScreen. This property will be overridden by any platform-specific scale."
390390
},
391391
"AndroidScale": {
392-
"type": "int",
392+
"type": "float",
393393
"description": "Used to scale the image that will be used as SplashScreen on Android."
394394
},
395395
"IOSScale": {
396-
"type": "int",
396+
"type": "float",
397397
"description": "Used to scale the image that will be used as SplashScreen on iOS."
398398
},
399399
"WindowsScale": {
400-
"type": "int",
400+
"type": "float",
401401
"description": "Used to scale the image that will be used as SplashScreen on Windows."
402402
},
403403
"WasmScale": {
404-
"type": "int",
404+
"type": "float",
405405
"description": "Used to scale the image that will be used as SplashScreen on WebAssembly."
406406
},
407407
"SkiaScale": {
408-
"type": "int",
408+
"type": "float",
409409
"description": "Used to scale the image that will be used as SplashScreen on Skia."
410410
}
411411
}

0 commit comments

Comments
 (0)