fix: simplify code navigation and support Gazebo XML files
Remove redundant code-view cancellation and align button labels. Restore module scrollbar thickness while preserving workspace colors, and support config, SDF and world text files locally and remotely.
This commit is contained in:
@@ -47,7 +47,7 @@ test('theme synchronizes across windows without writing runtime settings', () =>
|
||||
assert.equal(api.useStudioTheme(), 'dark')
|
||||
})
|
||||
|
||||
test('module content horizontal scrollbar uses the shared workspace scrollbar style', () => {
|
||||
test('module content scrollbar uses workspace colors without thinner scrollbar dimensions', () => {
|
||||
const source = ts.createSourceFile('ModuleListView.tsx', fs.readFileSync(path.join(root, 'ModuleListView.tsx'), 'utf8'), ts.ScriptTarget.Latest, true, ts.ScriptKind.TSX)
|
||||
const scrollClasses = []
|
||||
function visit(node) {
|
||||
@@ -59,5 +59,8 @@ test('module content horizontal scrollbar uses the shared workspace scrollbar st
|
||||
}
|
||||
visit(source)
|
||||
assert.ok(scrollClasses.length > 0)
|
||||
for (const classes of scrollClasses) assert.ok(classes.includes('thin-x-scrollbar'))
|
||||
for (const classes of scrollClasses) {
|
||||
assert.ok(classes.includes('module-content-scrollbar'))
|
||||
assert.ok(!classes.includes('thin-x-scrollbar'))
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user