Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {

qupathExtension {
name = "qupath-extension-training"
version = "0.1.0-SNAPSHOT"
version = "0.1.0-rc2"
group = "io.github.qupath"
description = "A QuPath extension to help learn how to use the software"
automaticModule = "qupath.extension.training"
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/qupath/fx/controls/tour/CssHighlight.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

import javafx.scene.Node;
import javafx.stage.Window;
import qupath.ext.training.ui.tour.GuiTourCommand;
import qupath.fx.utils.FXUtils;

import java.util.ArrayList;
Expand All @@ -14,7 +13,7 @@
class CssHighlight implements TourHighlight {

private static final String HIGHLIGHT_CLASS = "tour-highlight-node";
private static final String stylesheet = GuiTourCommand.class.getClassLoader().getResource("css/tour.css").toExternalForm();
private static final String stylesheet = CssHighlight.class.getClassLoader().getResource("css/tour.css").toExternalForm();

private final List<Node> currentNodes = new ArrayList<>();

Expand Down
4 changes: 2 additions & 2 deletions src/main/java/qupath/fx/controls/tour/GuiTourSkin.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
*/
public class GuiTourSkin extends SkinBase<GuiTour> {

private Pagination pagination;
private final Pagination pagination;

private TourHighlight highlight;
private final TourHighlight highlight;

/**
* Constructor for all SkinBase instances.
Expand Down
3 changes: 1 addition & 2 deletions src/main/java/qupath/fx/controls/tour/OverlayHighlight.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import javafx.stage.StageStyle;
import javafx.stage.Window;
import javafx.util.Duration;
import qupath.ext.training.ui.tour.GuiTourCommand;
import qupath.fx.utils.FXUtils;

import java.util.List;
Expand Down Expand Up @@ -116,7 +115,7 @@ private boolean initialize(Window owner) {
stage.getProperties().put("_INSTRUCTION_HIGHLIGHT", true);
stage.setScene(scene);

scene.getStylesheets().add(GuiTourCommand.class.getClassLoader().getResource("css/tour.css").toExternalForm());
scene.getStylesheets().add(OverlayHighlight.class.getClassLoader().getResource("css/tour.css").toExternalForm());

this.rectangle = rect;
this.stage = stage;
Expand Down
Loading