Moving portrait-landscape over, but discovered #152 in the process 😢
parent
43ab4b0ae8
commit
305fd55da0
|
|
@ -1,23 +0,0 @@
|
|||
require 'squib'
|
||||
|
||||
# For decks with both landscape and portrait orientations,
|
||||
# we recommend using two separate decks.
|
||||
# For print-on-demand, we can rotate all of the images in the final step.
|
||||
|
||||
# Normal cards
|
||||
Squib::Deck.new(width: 825, height: 1125) do
|
||||
background color: '#aaa'
|
||||
|
||||
text str: 'This is portrait'
|
||||
|
||||
save_png prefix: 'portrait_'
|
||||
end
|
||||
|
||||
# Money cards are landscape
|
||||
Squib::Deck.new(width: 1125, height: 825) do
|
||||
background color: '#aaa'
|
||||
|
||||
text str: 'This is landscape'
|
||||
|
||||
save_png prefix: 'landscape_', rotate: true
|
||||
end
|
||||
|
|
@ -1 +1 @@
|
|||
Subproject commit b657866fccb82865697118c7ac6379928cbd6c8f
|
||||
Subproject commit 9bb3727e13a806d33b0b321e9f6fff85c7d8a943
|
||||
Loading…
Reference in New Issue