From 223ea24481f54a0333261a21aa5b500a180d40b0 Mon Sep 17 00:00:00 2001 From: David Montero Crespo Date: Thu, 20 Aug 2026 16:04:54 +0200 Subject: [PATCH] fix(ssd1306): picker thumbnail matches the redrawn part The 4-pin module's picker icon still drew the screen as a flat dark rect, so the catalogue entry looked like a different part from the one you get on the canvas. Same glass treatment as the element: bonded panel with its bevel, inset active area, flex tail and sheen. The generated components-metadata.json is synced by hand because the generator skips without a third-party/wokwi-elements clone; the value is copied verbatim from component-overrides.json, which stays the source of truth, so a later regeneration reproduces it exactly. --- frontend/public/components-metadata.json | 4 ++-- scripts/component-overrides.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/public/components-metadata.json b/frontend/public/components-metadata.json index 7d4e6650..3f5e98ce 100644 --- a/frontend/public/components-metadata.json +++ b/frontend/public/components-metadata.json @@ -1461,7 +1461,7 @@ ] }, { - "thumbnail": "GND VCC SCL SDASSD1306I2C 4-pin", + "thumbnail": "GND VCC SCL SDASSD1306I2C 4-pin", "tags": [ "ssd1306", "oled", @@ -4606,4 +4606,4 @@ ] } ] -} \ No newline at end of file +} diff --git a/scripts/component-overrides.json b/scripts/component-overrides.json index f26fdb53..03d7f22e 100644 --- a/scripts/component-overrides.json +++ b/scripts/component-overrides.json @@ -2471,7 +2471,7 @@ "4-pin", "0x3c" ], - "thumbnail": "GND VCC SCL SDASSD1306I2C 4-pin", + "thumbnail": "GND VCC SCL SDASSD1306I2C 4-pin", "properties": [ { "name": "i2cAddress",