mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-06 22:46:06 +02:00
fix undefined ugc path & table hover
This commit is contained in:
@@ -12152,6 +12152,9 @@ console.log(`isLinux: ${LINUX}`);
|
|||||||
$app.data.folderSelectorDialogVisible = false;
|
$app.data.folderSelectorDialogVisible = false;
|
||||||
|
|
||||||
$app.methods.setUGCFolderPath = async function (path) {
|
$app.methods.setUGCFolderPath = async function (path) {
|
||||||
|
if (typeof path !== 'string') {
|
||||||
|
path = '';
|
||||||
|
}
|
||||||
await configRepository.setString('VRCX_userGeneratedContentPath', path);
|
await configRepository.setString('VRCX_userGeneratedContentPath', path);
|
||||||
this.ugcFolderPath = path;
|
this.ugcFolderPath = path;
|
||||||
};
|
};
|
||||||
|
|||||||
+7
-1
@@ -90,7 +90,13 @@
|
|||||||
.el-table .cell {
|
.el-table .cell {
|
||||||
display: -webkit-box;
|
display: -webkit-box;
|
||||||
-webkit-box-orient: vertical;
|
-webkit-box-orient: vertical;
|
||||||
-webkit-line-clamp: 1;
|
// -webkit-line-clamp: 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
// expand table cell on hover, TODO: replace with a better solution
|
||||||
|
.el-table__row:hover .el-table__cell .cell {
|
||||||
|
-webkit-box-orient: unset;
|
||||||
|
-webkit-line-clamp: unset;
|
||||||
}
|
}
|
||||||
|
|
||||||
.el-table th.is-sortable .cell {
|
.el-table th.is-sortable .cell {
|
||||||
|
|||||||
Reference in New Issue
Block a user