1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-23 17:01:47 +00:00
This commit is contained in:
Acamaeda 2020-12-16 21:41:31 -05:00
parent fb7a3fdfec
commit 6ed4f91cd4
5 changed files with 14 additions and 14 deletions

View file

@ -1,8 +1,10 @@
# The Modding Tree changelog: # The Modding Tree changelog:
## v2.3.4 - 12/ ## v2.3.4 - 12/16/20
- Added an image feature, which puts an image on a node. - Added an image feature, which puts an image on a node.
- Resource display now always shows the amount of the currency the layer's gain is based on. - Resource display now always shows the amount of the currency the layer's gain is based on.
- Added spacing between tree nodes.
- Another attempt to fix tooltip flickering.
## v2.3.3 - 12/13/20 ## v2.3.3 - 12/13/20
- Fixed the first node in a row always taking up space. - Fixed the first node in a row always taking up space.

View file

@ -11,7 +11,7 @@ let modInfo = {
// Set your version in num and name // Set your version in num and name
let VERSION = { let VERSION = {
num: "2.3.3.1", num: "2.3.4",
name: "Cooler and Newer Edition", name: "Cooler and Newer Edition",
} }

View file

@ -388,7 +388,7 @@ function loadVue() {
key() {return this.$vnode.key} key() {return this.$vnode.key}
}, },
template: `<div> template: `<div>
<span class="nodeRow" v-for="(row, r) in data"><table> <span class="upgRow" v-for="(row, r) in data"><table>
<span v-for="(node, id) in row" style = "{width: 0px}"> <span v-for="(node, id) in row" style = "{width: 0px}">
<tree-node :layer='node' :abb='tmp[node].symbol' :key="key + '-' + r + '-' + id"></tree-node> <tree-node :layer='node' :abb='tmp[node].symbol' :key="key + '-' + r + '-' + id"></tree-node>
</span> </span>

View file

@ -4,7 +4,7 @@ var gameEnded = false;
// Don't change this // Don't change this
const TMT_VERSION = { const TMT_VERSION = {
tmtNum: "2.3.3.1", tmtNum: "2.3.4",
tmtName: "Cooler and Newer Edition" tmtName: "Cooler and Newer Edition"
} }

View file

@ -56,15 +56,6 @@ td {
vertical-align: 0 vertical-align: 0
} }
.nodeRow {
display: flex !important;
flex-flow: row wrap;
justify-content: center;
align-items: center;
max-width: 100%;
margin: 0 auto;
}
h1, h2, h3, b, input { h1, h2, h3, b, input {
display: inline; display: inline;
font-family: "Lucida Console", "Courier New", monospace font-family: "Lucida Console", "Courier New", monospace
@ -84,6 +75,7 @@ h1, h2, h3, b, input {
color: rgba(0, 0, 0, 0.5); color: rgba(0, 0, 0, 0.5);
text-shadow: var(--hqProperty3); text-shadow: var(--hqProperty3);
padding: 0; padding: 0;
margin: 0 10px 0 10px;
} }
@ -99,7 +91,7 @@ h1, h2, h3, b, input {
color: rgba(0, 0, 0, 0.5); color: rgba(0, 0, 0, 0.5);
text-shadow: var(--hqProperty3); text-shadow: var(--hqProperty3);
padding: 0; padding: 0;
margin: 0 10px 0 10px;
} }
@ -559,9 +551,12 @@ ul {
[tooltip]:before, [tooltip]:before,
[tooltip]:after { [tooltip]:after {
visibility: hidden; visibility: hidden;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0);
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
white-space: pre-wrap; white-space: pre-wrap;
-webkit-transform:translate3d(0,0,0);
} }
[tooltip]:before { [tooltip]:before {
@ -603,9 +598,12 @@ ul {
[tooltip]:hover:before, [tooltip]:hover:before,
[tooltip]:hover:after { [tooltip]:hover:after {
filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100);
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
white-space: pre-wrap; white-space: pre-wrap;
-webkit-transform:translate3d(0,0,0);
} }
#loadingSection { #loadingSection {