-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add option to disable reorder on WEG and Toolbar: Feat(#412) #533
base: master
Are you sure you want to change the base?
Conversation
@@ -224,27 +225,27 @@ export function SeelenWeg() { | |||
); | |||
} | |||
|
|||
function ItemByType(item: SwItem, callback: (isOpen: boolean) => void) { | |||
function ItemByType(item: SwItem, drag: boolean, callback: (isOpen: boolean) => void) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
drag doesn't need to be passed as property, instead disable it on Reorder.Group, remove this code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no such an option ^^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I make as shown by the video on the last commit. It is easily revertable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eh sorry #533 (comment) missed my attention...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not solution
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
theoretically this should work, but apparently it isn't, so let as it is.
Edit: as it was before, is just revert b4af1b5 I believe
Dependecy:
Seelen-Inc/slu-lib#10
Option requested (#412) in the context menu for the weg and the tb:
Ymls:
toolbar:
weg: