mirror of
https://github.com/somegeekintn/SimDirs.git
synced 2026-03-25 08:55:54 +00:00
18 lines
490 B
Swift
18 lines
490 B
Swift
//
|
|
// DetailTableView.swift
|
|
// SimDirs
|
|
//
|
|
// Created by Casey Fleser on 5/1/16.
|
|
// Copyright © 2016 Quiet Spark. All rights reserved.
|
|
//
|
|
|
|
import Cocoa
|
|
|
|
class DetailTableView: NSTableView {
|
|
override func drawGrid(inClipRect: NSRect) {
|
|
let lastRowRect = self.rect(ofRow: self.numberOfRows - 1)
|
|
let adjClipRect = NSRect(x: 0.0, y: 0.0, width: lastRowRect.width, height: lastRowRect.maxY)
|
|
|
|
super.drawGrid(inClipRect: NSIntersectionRect(inClipRect, adjClipRect))
|
|
}
|
|
}
|