blob: df3858d42c805e4ae82447872280ffd968d73d3c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
//
// HeaderBarButton.swift
// MullvadVPN
//
// Created by pronebird on 15/11/2021.
// Copyright © 2021 Mullvad VPN AB. All rights reserved.
//
import UIKit
class HeaderBarButton: UIButton {
override func point(inside point: CGPoint, with event: UIEvent?) -> Bool {
return bounds.insetBy(dx: -10, dy: -10).contains(point)
}
}
|