From 624109beda4b185122d6dcdb645383e0f1039e41 Mon Sep 17 00:00:00 2001 From: Matt Soucy Date: Fri, 13 Jan 2023 20:24:33 -0500 Subject: [PATCH] Fix icon import --- 2022/11-setlist/deck.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2022/11-setlist/deck.rb b/2022/11-setlist/deck.rb index ee05185..07c8102 100644 --- a/2022/11-setlist/deck.rb +++ b/2022/11-setlist/deck.rb @@ -40,13 +40,13 @@ Squib::Deck.new(cards: 18) do text layout: :title, str: data.name - svg layout: :art, data: MUSIC + svg layout: :art, data: Icons::MUSIC rect layout: :description text layout: :description, str: data.effect.zip(data.blurb).map { |e, b| "#{e}#{b ? "\n#{b}" : nil}" } do |embed| - embed.svg key: '{a}', width: 32, height: 32, data: AUDIENCE + embed.svg key: '{a}', width: 32, height: 32, data: Icons::AUDIENCE end text layout: :type, markup: true, str: data.volume.map { |v| "#{v} (#{VOLUMES[v]})" }