-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make the region behavior config scrollable
- Loading branch information
1 parent
d00ff73
commit ee1ba86
Showing
5 changed files
with
32 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,7 @@ | |
"email": "[email protected]" | ||
} | ||
], | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"compatibility": { | ||
"minimum": "12", | ||
"verified": "12" | ||
|
@@ -33,8 +33,8 @@ | |
], | ||
"url": "https://github.com/dev7355608/limits", | ||
"manifest": "https://github.com/dev7355608/limits/releases/latest/download/module.json", | ||
"download": "https://github.com/dev7355608/limits/releases/download/v2.0.0/module.zip", | ||
"changelog": "https://github.com/dev7355608/limits/releases/tag/v2.0.0", | ||
"download": "https://github.com/dev7355608/limits/releases/download/v2.0.1/module.zip", | ||
"changelog": "https://github.com/dev7355608/limits/releases/tag/v2.0.1", | ||
"bugs": "https://github.com/dev7355608/limits/issues", | ||
"readme": "https://raw.githubusercontent.com/dev7355608/limits/main/README.md", | ||
"license": "https://raw.githubusercontent.com/dev7355608/limits/main/LICENSE" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export { default as LimitRangeRegionBehaviorConfig } from "./region-behavior.mjs"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/** | ||
* The "Limit Range" Region Behavior Config. | ||
* @sealed | ||
*/ | ||
export default class LimitRangeRegionBehaviorConfig extends foundry.applications.sheets.RegionBehaviorConfig { | ||
/** @override */ | ||
static PARTS = foundry.utils.mergeObject(super.PARTS, { form: { scrollable: [""] } }, { inplace: false }); | ||
|
||
/** @override */ | ||
async _renderHTML(context, options) { | ||
const rendered = await super._renderHTML(context, options); | ||
|
||
rendered.form.classList.add("scrollable"); | ||
|
||
return rendered; | ||
} | ||
} |