stricklandrbls commented on code in PR #1647:
URL: https://github.com/apache/daffodil-vscode/pull/1647#discussion_r3245071784
##########
src/svelte/src/stores/index.ts:
##########
@@ -379,10 +371,10 @@ export const requestable = derived(
)
export const originalDataSegment = derived(
- [viewport, selectionDataStore, regularSizedFile],
- ([$viewport, $selectionData, $regularSizedFile]) => {
+ [viewport, selectionDataStore],
+ ([$viewport, $selectionData]) => {
if (!$viewport.data) return []
- if (!$regularSizedFile) return $viewport.data
+ if (!isRegularSizedFile()) return $viewport.data
Review Comment:
I tested this and did not see this behavior. I don't think Copilot entirely
understands the Svelte rune subscription model.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]