Skip to content

Commit

Permalink
fix: reset the tooltip position default adjust value (#34)
Browse files Browse the repository at this point in the history
The user shoud not have to specify this value at 0
 when the adjusment is not needed.
  • Loading branch information
pythonbrad authored Aug 21, 2024
1 parent e1f0af6 commit 0fbf1de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/afrim-input/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ export default class Afrim {
tooltipInputElementID: "tooltip-input",
tooltipPredicatesElementID: "tooltip-predicates",
tooltipPredicateClass: "dropdown-item",
tooltipAdjustLeft: 50,
tooltipAdjustTop: 125,
tooltipAdjustLeft: 0,
tooltipAdjustTop: 0,
configUrl:
"https://raw.githubusercontent.com/pythonbrad/afrim-data/4b177197bb37c9742cd90627b1ad543c32ec791b/gez/gez.toml",
};
Expand Down
2 changes: 2 additions & 0 deletions packages/afrim-playground/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,8 @@ <h1 class="title">Keyboard shortcuts</h1>
tooltipInputElementID: "tooltip-input",
tooltipPredicatesElementID: "tooltip-predicates",
configUrl: `https://raw.githubusercontent.com/pythonbrad/afrim-data/4b177197bb37c9742cd90627b1ad543c32ec791b/${lang}/${lang}.toml`,
tooltipAdjustLeft: 25,
tooltipAdjustTop: 125,
});
return;
}
Expand Down

0 comments on commit 0fbf1de

Please sign in to comment.