Script blocking UI works now
This commit is contained in:
17
SBrowser/Utilities/UIEdgeInsets+Layout.swift
Normal file
17
SBrowser/Utilities/UIEdgeInsets+Layout.swift
Normal file
@@ -0,0 +1,17 @@
|
||||
//
|
||||
// UIEdgeInsets+Layout.swift
|
||||
// SBrowser
|
||||
//
|
||||
// Created by James Magahern on 7/23/20.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
extension UIEdgeInsets
|
||||
{
|
||||
var negative: UIEdgeInsets {
|
||||
get {
|
||||
return UIEdgeInsets(top: -top, left: -left, bottom: -bottom, right: -right)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user