diff --git a/ChangeLog.md b/ChangeLog.md index ae76de03..c8f817fd 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,3 +1,6 @@ +#2.2.15 + * Ensure that standard slots are repainted when any component changes + #2.2.14 * Ensure that jitter is shown correctly when the result of a special effect * Use restyled blueprint information diff --git a/src/app/components/SlotSection.jsx b/src/app/components/SlotSection.jsx index d0789448..e34607c8 100644 --- a/src/app/components/SlotSection.jsx +++ b/src/app/components/SlotSection.jsx @@ -64,7 +64,7 @@ export default class SlotSection extends TranslatedComponent { * @param {Object} m Selected module */ _selectModule(slot, m) { - this.props.ship.use(slot, m); + this.props.ship.use(slot, m, false); this.props.onChange(); this._close(); } @@ -123,7 +123,7 @@ export default class SlotSection extends TranslatedComponent { // We want to copy the module in to the target slot if (targetSlot && canMount(this.props.ship, targetSlot, m.grp, m.class)) { const mCopy = m.clone(); - this.props.ship.use(targetSlot, mCopy); + this.props.ship.use(targetSlot, mCopy, false); this.props.onChange(); } } else { diff --git a/src/app/pages/OutfittingPage.jsx b/src/app/pages/OutfittingPage.jsx index 95547a95..f0c5f088 100644 --- a/src/app/pages/OutfittingPage.jsx +++ b/src/app/pages/OutfittingPage.jsx @@ -316,7 +316,6 @@ export default class OutfittingPage extends Page { canRename = buildName && newBuildName && buildName != newBuildName, canReload = savedCode && canSave, hStr = ship.getHardpointsString() + '.' + ship.getModificationsString(), - sStr = ship.getStandardString() + '.' + ship.getModificationsString(), iStr = ship.getInternalString() + '.' + ship.getModificationsString(); return ( @@ -350,12 +349,12 @@ export default class OutfittingPage extends Page { - + - +