Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
standalone-anyremote
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qlintonger xeno
standalone-anyremote
Commits
b951dda7
Commit
b951dda7
authored
May 08, 2024
by
qlintonger xeno
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
尝试添加截图标注+10
parent
be9e38f8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletions
+3
-1
anyremote/widgets/ImageEditor/funcs/drawErase.ts
+1
-0
anyremote/widgets/ImageEditor/funcs/drawStroke.ts
+1
-0
src/hooks/eventBus.ts
+1
-1
No files found.
anyremote/widgets/ImageEditor/funcs/drawErase.ts
View file @
b951dda7
// @ts-nocheck
import
{
drawCanvas
,
plantCanvas
}
from
"../objs/renderBasic"
;
import
{
ComplexDrawHandleFunc
}
from
"../types/HandlerFunc"
;
import
{
ComplexDrawAttachment
,
ContinuousDrawAttachment
}
from
"../types/AttachmentSpecifics"
;
...
...
anyremote/widgets/ImageEditor/funcs/drawStroke.ts
View file @
b951dda7
// @ts-nocheck
import
{
drawCanvas
}
from
"../objs/renderBasic"
;
import
{
ComplexDrawHandleFunc
}
from
"../types/HandlerFunc"
;
import
{
ContinuousDrawAttachment
}
from
"../types/AttachmentSpecifics"
;
...
...
src/hooks/eventBus.ts
View file @
b951dda7
...
...
@@ -33,7 +33,7 @@ class EventBus {
}
}
if
(
delIndexs
.
length
)
{
this
.
eventMap
[
eventName
]
=
eventList
.
filter
((
event
,
i
)
=>
{
this
.
eventMap
[
eventName
]
=
eventList
.
filter
((
_
,
i
)
=>
{
return
!
delIndexs
.
includes
(
i
)
})
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment