Skip to content

Commit

Permalink
Added illustrator and after effects to list of apps that has issues w…
Browse files Browse the repository at this point in the history
…ith drag to snap.
  • Loading branch information
rxhanson committed Apr 28, 2024
1 parent b993097 commit c15f647
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
6 changes: 5 additions & 1 deletion Rectangle/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,11 @@ class AppDelegate: NSObject, NSApplicationDelegate {
guard !Defaults.windowSnapping.userDisabled, !Defaults.notifiedOfProblemApps.enabled else { return }

let problemBundleIds: [String] = [
"com.mathworks.matlab", "com.live2d.cubism.CECubismEditorApp", "com.aquafold.datastudio.DataStudio"
"com.mathworks.matlab",
"com.live2d.cubism.CECubismEditorApp",
"com.aquafold.datastudio.DataStudio",
"com.adobe.illustrator",
"com.adobe.AfterEffects"
]

// these apps are java based with dynamic bundleIds
Expand Down
7 changes: 6 additions & 1 deletion Rectangle/Snapping/SnappingManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@ struct SnapArea: Equatable {

class SnappingManager {

private let fullIgnoreIds: [String] = Defaults.fullIgnoreBundleIds.typedValue ?? ["com.install4j", "com.mathworks.matlab", "com.live2d.cubism.CECubismEditorApp", "com.aquafold.datastudio.DataStudio"]
private let fullIgnoreIds: [String] = Defaults.fullIgnoreBundleIds.typedValue ?? ["com.install4j",
"com.mathworks.matlab",
"com.live2d.cubism.CECubismEditorApp",
"com.aquafold.datastudio.DataStudio",
"com.adobe.illustrator",
"com.adobe.AfterEffects"]

var eventMonitor: EventMonitor?
var windowElement: AccessibilityElement?
Expand Down

0 comments on commit c15f647

Please sign in to comment.