[274/274] magic-modules rollout (#51)
Add Magic-Modules support to all frames
This commit is contained in:
@@ -449,7 +449,7 @@ card style:
|
||||
needed := (255 + information_secondary_offset_pt_left_3() - if length(card.secondary_copyright_3) > 9 then 45 else if length(card.secondary_copyright_3) > 6 then 25 else if length(card.secondary_copyright_3) > 4 then 10 else 0) * face_coordinates_map(3).width/375 + face_coordinates_map(3).left
|
||||
aligned := 351 * face_coordinates_map(3).width/375 + information_copyright_offset_right_3() - (if set.automatic_copyright then card_style.auto_copyright_3.content_width else card_style.copyright_3.content_width) + face_coordinates_map(3).left
|
||||
left := max(min(needed, aligned), 211 * face_coordinates_map(3).width/375)
|
||||
right := (if card.pt_3 != "" then 279 + information_secondary_offset_pt_left_3() else if card.loyalty_3 != "" then 295 + information_secondary_offset_pt_left_3() else 351) * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_copyright_offset_right_3()
|
||||
right := (if not information_secondary_shift_with_pt_3() then 351 else if card.pt_3 != "" then 279 + information_secondary_offset_pt_left_3() else if card.loyalty_3 != "" then 295 + information_secondary_offset_pt_left_3() else 351) * face_coordinates_map(3).width/375 + face_coordinates_map(3).left + information_copyright_offset_right_3()
|
||||
right - left
|
||||
)
|
||||
height:
|
||||
@@ -461,7 +461,7 @@ card style:
|
||||
if information_disabled_3() then 0 else 10 * face_coordinates_map(3).height/523
|
||||
)
|
||||
visible: { not information_disabled_3() }
|
||||
alignment: { if card.pt_3 != "" or card.loyalty_3 != "" then "middle left shrink-overflow" else "middle right shrink-overflow" }
|
||||
alignment: { if (card.pt_3 != "" or card.loyalty_3 != "") and information_secondary_shift_with_pt_3() then "middle left shrink-overflow" else "middle right shrink-overflow" }
|
||||
font:
|
||||
name: MPlantin
|
||||
size: { 6.5 * face_coordinates_map(3).height/(if face_is_rotated(3) then 375 else 523) }
|
||||
|
||||
Reference in New Issue
Block a user