Skip to content

Commit

Permalink
add isDragging to module, version 2.5.4
Browse files Browse the repository at this point in the history
  • Loading branch information
LabyStudio committed Jun 3, 2022
1 parent 365bdae commit ac14bd9
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gradle.yml
Expand Up @@ -29,7 +29,7 @@ jobs:
with:
name: Artifacts
path: build/libs/*.jar
- uses: actions/delete-package-versions@v1
- uses: actions/delete-package-versions@v3
with:
package-name: 'com.github.LabyStudio.desktopmodules-core'
- name: Publish to GitHub Packages
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group 'com.github.LabyStudio'
version '2.5.3'
version '2.5.4'

compileJava {
sourceCompatibility = '1.8'
Expand Down
Expand Up @@ -275,6 +275,15 @@ public void onTick() {
*/
public abstract String getDisplayName();

/**
* Is the module currently dragged by the mouse
*
* @return module is currently dragged
*/
public boolean isDragging() {
return this.dragging;
}

/**
* Is mouse over a rendered part of the module
*
Expand Down

0 comments on commit ac14bd9

Please sign in to comment.