Skip to content

Commit 7593b27

Browse files
committed
Make paragraph metrics configurable externally.
1 parent fb48f65 commit 7593b27

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

Aztec/Classes/Constants/Metrics.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import Foundation
44
/// A collection of constants and metrics shared between the Aztec importer
55
/// and the editor.
66
///
7-
enum Metrics {
7+
public enum Metrics {
88

9-
static let defaultIndentation = CGFloat(12)
10-
static let maxIndentation = CGFloat(200)
11-
static let listTextIndentation = CGFloat(16)
12-
static let tabStepInterval = 8
13-
static let tabStepCount = 12
14-
static let paragraphSpacing = CGFloat(6)
9+
public static var defaultIndentation = CGFloat(12)
10+
public static var maxIndentation = CGFloat(200)
11+
public static var listTextIndentation = CGFloat(16)
12+
public static var tabStepInterval = 8
13+
public static var tabStepCount = 12
14+
public static var paragraphSpacing = CGFloat(6)
1515
}

0 commit comments

Comments
 (0)