mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-06-23 08:30:38 +12:00
[stage]
This commit is contained in:
parent
c8cf6aa3fb
commit
3c7967d2c0
|
@ -409,12 +409,14 @@ final class BrowserFileListComp extends SimpleComp {
|
|||
double dragY = event.getSceneY();
|
||||
double topYProximity = tableBounds.getMinY() + proximity;
|
||||
double bottomYProximity = tableBounds.getMaxY() - proximity;
|
||||
|
||||
// clamp new values between 0 and 1 to prevent scrollbar flicking around at the edges
|
||||
if (dragY < topYProximity) {
|
||||
var scrollValue = Math.min(topYProximity - dragY, 100) / 10000.0;
|
||||
vbar.setValue(vbar.getValue() - scrollValue);
|
||||
vbar.setValue(Math.max(vbar.getValue() - scrollValue, 0));
|
||||
} else if (dragY > bottomYProximity) {
|
||||
var scrollValue = Math.min(dragY - bottomYProximity, 100) / 10000.0;
|
||||
vbar.setValue(vbar.getValue() + scrollValue);
|
||||
vbar.setValue(Math.min(vbar.getValue() + scrollValue, 1.0));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@ public class BrowserTransferComp extends SimpleComp {
|
|||
|
||||
@Override
|
||||
protected Region createSimple() {
|
||||
var background = new LabelComp(AppI18n.observable("download"))
|
||||
var background = new LabelComp(AppI18n.observable("transferDescription"))
|
||||
.apply(struc -> struc.get().setGraphic(new FontIcon("mdi2d-download-outline")))
|
||||
.visible(BindingsHelper.persist(Bindings.isEmpty(stage.getItems())));
|
||||
var backgroundStack =
|
||||
|
|
|
@ -77,6 +77,10 @@ public class BrowserTransferModel {
|
|||
}
|
||||
|
||||
for (Item item : new ArrayList<>(items)) {
|
||||
if (item.getFinishedDownload().get()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
try {
|
||||
try (var b = new BusyProperty(downloading)) {
|
||||
FileSystemHelper.dropFilesInto(
|
||||
|
|
|
@ -30,7 +30,7 @@ deleteAlertTitle=Confirm deletion
|
|||
deleteAlertHeader=Do you want to delete the ($COUNT$) selected elements?
|
||||
selectedElements=Selected elements:
|
||||
mustNotBeEmpty=$NAME$ must not be empty
|
||||
download=Drop to download
|
||||
transferDescription=Drop to transfer
|
||||
dragFiles=Drag files within browser
|
||||
dragLocalFiles=Drag local files from here
|
||||
null=$VALUE$ must be not null
|
||||
|
|
18
dist/changelogs/1.4.0.md
vendored
Normal file
18
dist/changelogs/1.4.0.md
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
## Changes in 1.4.0
|
||||
|
||||
- Implement support for SSH tunnels / port forwarding.
|
||||
This includes local, remote, and dynamic tunneling.
|
||||
- Rework file browser transfer pane. Files dropped there will no longer be downloaded automatically.
|
||||
Instead, you can also use it just to quickly transfer a set of files across file system tabs.
|
||||
Only when you now click the new download button, the set of files is downloaded
|
||||
to your local machine and can be dragged into your native desktop environment as regular files.
|
||||
- Add support for podman containers
|
||||
- Add support for BBEdit as an editor
|
||||
- Add support for Alacritty on Windows and macOS as well
|
||||
- Add support for Kitty on macOS
|
||||
- Restyle sidebar to take up less space
|
||||
- Improve scaling of connection list display information
|
||||
- Improve askpass script retention
|
||||
- Fix some features not working on busybox systems due to unknown base64 --decode option
|
||||
- Fix local elevation not working on macOS with Fig installed
|
||||
- Many other small miscellaneous fixes and improvements
|
Loading…
Reference in a new issue