mirror of
https://github.com/rhunk/SnapEnhance.git
synced 2025-06-13 05:37:48 +02:00
feat: better location overlay
Signed-off-by: rhunk <101876869+rhunk@users.noreply.github.com>
This commit is contained in:
@ -16,7 +16,7 @@ class CallbackMapper : AbstractClassMapper("Callbacks") {
|
||||
if (clazz.superclass == null) return@filter false
|
||||
|
||||
val superclassName = clazz.getSuperClassName()!!
|
||||
if ((!superclassName.endsWith("Callback") && !superclassName.endsWith("Delegate"))
|
||||
if ((!superclassName.endsWith("Callback") && !superclassName.endsWith("Delegate") && !superclassName.endsWith("EventHandler"))
|
||||
|| superclassName.endsWith("\$Callback")) return@filter false
|
||||
|
||||
if (clazz.getClassName().endsWith("\$CppProxy")) return@filter false
|
||||
|
Reference in New Issue
Block a user