Fix layout and qr code
This commit is contained in:
parent
2e391bace6
commit
64a6e1a890
3 changed files with 92 additions and 52 deletions
|
|
@ -7,16 +7,6 @@ description 'Create SVG file with content of given event'
|
|||
class CreateFlyer < ::Nanoc::CLI::CommandRunner
|
||||
require 'rqrcode_png'
|
||||
|
||||
# Monkey-patch qr generator
|
||||
module RQRCodePNG
|
||||
class Sequence
|
||||
def border_width()
|
||||
# No boundary around image
|
||||
0
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def get_qr(data)
|
||||
qr = nil
|
||||
size = 7
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue