mirror of
https://github.com/rakion99/shelter-editor.git
synced 2026-09-22 18:12:15 +00:00
Added remove rocks button
This commit is contained in:
1 parent
16cb883596
commit
a6cc251a53
3 files changed
+14
-2
No files matched your search
@@ -64,6 +64,11 @@ a.tab:focus {
|
||||
margin-left: 0;
|
||||
margin-right: 0;
|
||||
}
|
||||
.row.rockbtn {
|
||||
margin-top: 80px;
|
||||
margin-left: 0;
|
||||
margin-right: 350px;
|
||||
}
|
||||
|
||||
.box {
|
||||
margin-top: 30px;
|
||||
|
||||
+5
-2
@@ -58,8 +58,11 @@
|
||||
<label>Starter Pack</label>
|
||||
<input type="number" class="form-control" name="starterPack" ng-model="starterPackCount">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="row rockbtn">
|
||||
<button type="button" class="btn btn-primary pull-right" ng-click="removeRocks()">Remove Rocks</button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group row">
|
||||
|
||||
@@ -238,6 +238,10 @@ app.controller('dwellerController', function ($scope) {
|
||||
$scope.dweller.stats.stats[6].value = 10;
|
||||
$scope.dweller.stats.stats[7].value = 10;
|
||||
};
|
||||
|
||||
$scope.removeRocks = function () {
|
||||
$scope.save.vault.rocks = [];
|
||||
};
|
||||
|
||||
$scope.closeDweller = function (dweller) {
|
||||
$scope.dweller = {};
|
||||
|
||||
Reference in new issue
Block a user