Skip to content

Commit

Permalink
Added tippy tooltips.
Browse files Browse the repository at this point in the history
  • Loading branch information
rrenna committed Apr 27, 2021
1 parent f7a7f2a commit 1b12281
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/controllers/PopulatorPanelController.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/controllers/PopulatorPanelController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ import { CreatureTypeGenerationOptions } from "../data/Generator.js"
import { Subtype, Type } from "../data/Types.js"
import CreatureSubtypeGraft from "../models/CreatureSubtypeGraft.js"

declare var tippy

export default class PopulatorPanelController extends Application {
static get defaultOptions() {
return mergeObject(super.defaultOptions, {
Expand Down
7 changes: 7 additions & 0 deletions src/global.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { Tippy } from "tippy.js"

// Adds Tippy to the global namespace
// See conversation: https://discord.com/channels/732325252788387980/803646399014109205/836405683447529492
declare global {
var tippy: Tippy
}

0 comments on commit 1b12281

Please sign in to comment.