forked from j62/ctbrec
Add config option for fast scroll speed
This commit is contained in:
parent
e3925e992d
commit
9a270bb84b
|
@ -1,3 +1,7 @@
|
|||
3.10.11
|
||||
========================
|
||||
* Added config option for faster scroll speed
|
||||
|
||||
3.10.10
|
||||
========================
|
||||
* Fixed MVLive recordings once again
|
||||
|
|
|
@ -123,6 +123,7 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
private SimpleStringProperty downloadFilename;
|
||||
private SimpleBooleanProperty requireAuthentication;
|
||||
private SimpleBooleanProperty transportLayerSecurity;
|
||||
private SimpleBooleanProperty fastScrollSpeed;
|
||||
private ExclusiveSelectionProperty recordLocal;
|
||||
private SimpleIntegerProperty postProcessingThreads;
|
||||
private IgnoreList ignoreList;
|
||||
|
@ -178,6 +179,7 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
recordLocal = new ExclusiveSelectionProperty(null, "localRecording", settings.localRecording, "Local", "Remote");
|
||||
postProcessingThreads = new SimpleIntegerProperty(null, "postProcessingThreads", settings.postProcessingThreads);
|
||||
onlineCheckSkipsPausedModels = new SimpleBooleanProperty(null, "onlineCheckSkipsPausedModels", settings.onlineCheckSkipsPausedModels);
|
||||
fastScrollSpeed = new SimpleBooleanProperty(null, "fastScrollSpeed", settings.fastScrollSpeed);
|
||||
}
|
||||
|
||||
private void createGui() {
|
||||
|
@ -202,6 +204,7 @@ public class SettingsTab extends Tab implements TabSelectionListener {
|
|||
Setting.of("Manually select stream quality", chooseStreamQuality, "Opens a dialog to select the video resolution before recording"),
|
||||
Setting.of("Enable live previews (experimental)", livePreviews),
|
||||
Setting.of("Add models from clipboard", monitorClipboard, "Monitor clipboard for model URLs and automatically add them to the recorder").needsRestart(),
|
||||
Setting.of("Fast scroll speed", fastScrollSpeed, "Makes the thumbnail overviews scroll faster with the mouse wheel").needsRestart(),
|
||||
Setting.of("Start Tab", startTab),
|
||||
Setting.of("Colors (Base / Accent)", new ColorSettingsPane(Config.getInstance())).needsRestart()
|
||||
),
|
||||
|
|
|
@ -197,8 +197,10 @@ public class ThumbOverviewTab extends Tab implements TabSelectionListener {
|
|||
scrollPane.setContent(grid);
|
||||
scrollPane.setFitToHeight(true);
|
||||
scrollPane.setFitToWidth(true);
|
||||
FasterVerticalScrollPaneSkin scrollPaneSkin = new FasterVerticalScrollPaneSkin(scrollPane);
|
||||
scrollPane.setSkin(scrollPaneSkin);
|
||||
if (Config.getInstance().getSettings().fastScrollSpeed) {
|
||||
FasterVerticalScrollPaneSkin scrollPaneSkin = new FasterVerticalScrollPaneSkin(scrollPane);
|
||||
scrollPane.setSkin(scrollPaneSkin);
|
||||
}
|
||||
BorderPane.setMargin(scrollPane, new Insets(5));
|
||||
|
||||
pagination = new HBox(5);
|
||||
|
|
|
@ -60,6 +60,7 @@ public class Settings {
|
|||
public String downloadFilename = "${modelSanitizedName}-${localDateTime}";
|
||||
public List<EventHandlerConfiguration> eventHandlers = new ArrayList<>();
|
||||
public boolean fastPlaylistGenerator = false;
|
||||
public boolean fastScrollSpeed = true;
|
||||
public String fc2livePassword = "";
|
||||
public String fc2liveUsername = "";
|
||||
public String ffmpegMergedDownloadArgs = "-c:v copy -c:a copy -movflags faststart -y -f mpegts";
|
||||
|
|
Loading…
Reference in New Issue