From 4009345759a10bc7629dfe996d9ced7d327b1c87 Mon Sep 17 00:00:00 2001 From: thingalon Date: Wed, 11 Jan 2023 09:59:13 +1100 Subject: [PATCH] [not verified] [Boost] Don't show <1x on images that are exactly the right size (#28245) * Mark exact-sized images with a check mark * changelog Co-authored-by: Mark George --- .../boost/app/features/image-guide/src/ui/Bubble.svelte | 2 +- projects/plugins/boost/changelog/fix-image-guide-1x | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 projects/plugins/boost/changelog/fix-image-guide-1x diff --git a/projects/plugins/boost/app/features/image-guide/src/ui/Bubble.svelte b/projects/plugins/boost/app/features/image-guide/src/ui/Bubble.svelte index 982274beeec35..1b47d944c6030 100644 --- a/projects/plugins/boost/app/features/image-guide/src/ui/Bubble.svelte +++ b/projects/plugins/boost/app/features/image-guide/src/ui/Bubble.svelte @@ -28,7 +28,7 @@
{#if $oversizedRatio > 9} {Math.floor( $oversizedRatio )}x - {:else if $oversizedRatio > 1} + {:else if $oversizedRatio > 0.99} {#if severity === 'normal'} {:else} diff --git a/projects/plugins/boost/changelog/fix-image-guide-1x b/projects/plugins/boost/changelog/fix-image-guide-1x new file mode 100644 index 0000000000000..74b7c76ae932f --- /dev/null +++ b/projects/plugins/boost/changelog/fix-image-guide-1x @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Don't show <1x on images that are exactly the right size