Skip to content

Commit

Permalink
Merge branch 'dev' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
realwakils committed Apr 7, 2021
2 parents ff8d80f + 82ddeee commit 3c4ac59
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 1.0.3
- Switched to a more stable, reliable and easier API endpoint for currencies (self controlled)
- Added price modifier with slider
- Automatic reloading upon selecting currency
- Cleaned up some code

## 1.0.2
- Fixed bug where the currency API would return an error message
- Fixed #2
Expand Down
10 changes: 8 additions & 2 deletions src/popup/Slider.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

<div id="wrapper">
<strong id="title">Price modifier</strong>
<SvelteTooltip tip="Full price: $50. Price now: ${50*val/100}" top color="#008cba">
<SvelteTooltip tip="Full price: $75. Price now: ${75*val/100}" top color="#008cba">
<button id="info">?</button>
</SvelteTooltip>
<p style="color:gray;">Apply a price modifier. Useful for selling Buff Balance.</p>
Expand All @@ -32,6 +32,7 @@
</form>
</div>

<!-- DISCLAIMER: This CSS and layout is quite horrible, fix later, I just want a version of this out -->
<style>
#wrapper {
padding: 10px 0 15px 0;
Expand All @@ -44,6 +45,7 @@
margin-top: 5px;
display: flex;
justify-content: space-around;
align-items: center;
}
#info {
background-color: #008cba;
Expand Down Expand Up @@ -74,5 +76,9 @@
text-align: center;
text-decoration: none;
}
#apply,#displayVal:hover { cursor: pointer; }
#apply:hover,#displayVal:hover { cursor: pointer; background: #2c2c2c15; }
#displayVal {
width: 30px;
margin-right: 8px;
}
</style>

0 comments on commit 3c4ac59

Please sign in to comment.