                    lineWidth: 2)
         
         drawHashes(for: mediumRulerUnit,
-                   skipping: [rulerUnit],
                    height: hashHeight / 2,
                    lineWidth: 1)
         
         if let smallUnit = smallRulerUnit {
             drawHashes(for: smallUnit,
-                       skipping: [rulerUnit, mediumRulerUnit],
                        height: hashHeight / 3,
                        lineWidth: 1)
         }

    }
    
    private func drawHashes(for unit: UnitLength,
                            skipping unitsToSkip: [UnitLength] = [],
                            height: CGFloat,
                            lineWidth: CGFloat) {
        guard let context = UIGraphicsGetCurrentContext() else { return }

        context.setStrokeColor(hashColor.cgColor)
        context.setShouldAntialias(false)
        
        for offset in xOffsets(for: unit) {
            context.moveTo(x: offset, y: 0)
            context.addLineTo(x: offset, y: height)
            
