Do not flatten Interactive::default

This commit is contained in:
Piotr Osiewicz 2023-06-14 17:26:47 +02:00 committed by Mikayla Maki
parent 0256f89dd6
commit b9959ffdc0
No known key found for this signature in database

View File

@ -872,7 +872,6 @@ impl<'de, T: DeserializeOwned> Deserialize<'de> for Interactive<T> {
{
#[derive(Deserialize)]
struct Helper {
#[serde(flatten)]
default: Value,
hover: Option<Value>,
clicked: Option<Value>,