mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-02-19 07:36:42 -05:00
Various small fixes
This commit is contained in:
@@ -237,6 +237,10 @@ public class BrowserFileListCompEntry {
|
||||
var target = item != null && item.getRawFileEntry().resolved().getKind() == FileKind.DIRECTORY
|
||||
? item.getRawFileEntry().resolved()
|
||||
: model.getFileSystemModel().getCurrentDirectory();
|
||||
// We could already have changed the current dir
|
||||
if (target == null) {
|
||||
return;
|
||||
}
|
||||
model.getFileSystemModel()
|
||||
.dropFilesIntoAsync(
|
||||
target,
|
||||
|
||||
@@ -36,7 +36,7 @@ public class AppCache {
|
||||
try {
|
||||
FileUtils.cleanDirectory(getBasePath().toFile());
|
||||
} catch (IOException e) {
|
||||
ErrorEventFactory.fromThrowable(e).handle();
|
||||
ErrorEventFactory.fromThrowable(e).expected().handle();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -134,7 +134,7 @@ public abstract class StoreEntryComp extends SimpleComp {
|
||||
button.setGraphic(r);
|
||||
button.getStyleClass().add("store-entry-comp");
|
||||
button.setPadding(Insets.EMPTY);
|
||||
button.setMaxWidth(5000);
|
||||
button.setMaxWidth(10000);
|
||||
button.setFocusTraversable(true);
|
||||
CompDescriptor.builder()
|
||||
.name(getWrapper().getShownName())
|
||||
|
||||
@@ -45,7 +45,7 @@ public class StoreSectionMiniComp extends StoreSectionBaseComp {
|
||||
action.accept(section);
|
||||
});
|
||||
root.hgrow();
|
||||
root.maxWidth(2000);
|
||||
root.maxWidth(10000);
|
||||
root.styleClass("item");
|
||||
root.apply(struc -> {
|
||||
struc.get().setAlignment(Pos.CENTER_LEFT);
|
||||
|
||||
Reference in New Issue
Block a user