Skip to content

Commit

Permalink
change default of shouldPropagateEventAcrossWindows to true
Browse files Browse the repository at this point in the history
  • Loading branch information
p-x9 committed Sep 4, 2023
1 parent ff610f4 commit 84bf089
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/TouchTracker/Cocoa/TouchTrackingUIView.swift
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
//
// CocoaTrackPointManager.swift
//
//
//
// Created by p-x9 on 2023/04/14.
//
//
//

#if canImport(UIKit)
Expand Down Expand Up @@ -46,7 +46,7 @@ public class TouchTrackingUIView: UIView {
/// A boolean value that indicates whether the event should propagate across windows.
/// If set to `true`, the touch events received in one window will also be shared
/// with other windows when applicable.
public var shouldPropagateEventAcrossWindows: Bool = true
public var shouldPropagateEventAcrossWindows: Bool = false

var touches: Set<UITouch> = []
var locations: [CGPoint] = [] {
Expand All @@ -59,7 +59,7 @@ public class TouchTrackingUIView: UIView {
public var isEnabled: Bool = true

var pointWindows = [TouchPointUIView]()

/// initializer
/// - Parameters:
/// - radius: radius of mark on touched point
Expand Down

0 comments on commit 84bf089

Please sign in to comment.