Skip to content

Commit

Permalink
Small update which prepares for expansion of new features
Browse files Browse the repository at this point in the history
  • Loading branch information
junebug12851 committed Feb 25, 2019
1 parent 4d17ab8 commit 3801783
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pokered-save-editor",
"productName": "Pokered Save Editor",
"description": "Pokemon Red/Blue Save Editor",
"version": "1.3.1",
"version": "1.3.2",
"repository": {
"type": "git",
"url": "https://github.com/junebug12851/pokered-save-editor.git"
Expand Down
4 changes: 3 additions & 1 deletion src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ import { MatPaginatorModule } from '@angular/material/paginator';
import { MatButtonToggleModule } from '@angular/material/button-toggle';
import { MatGridListModule } from '@angular/material/grid-list';
import { MatTooltipModule } from '@angular/material/tooltip';
import {MatMenuModule} from '@angular/material/menu';

// Modules
import { FontawesomeModule } from './libs/fontawesome.module';
Expand Down Expand Up @@ -203,7 +204,8 @@ import { RootHoFComponent } from './screens/root-hof/root-hof.component';
MatPaginatorModule,
MatButtonToggleModule,
MatGridListModule,
MatTooltipModule
MatTooltipModule,
MatMenuModule
],
providers: [
SaveFileService,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,24 @@ mat-card.sticky.ns(style='margin-bottom: 15px !important')
)
span.im.im-plus3

mat-menu(
'#menu'="matMenu"
)
button(
mat-menu-item='',
color='warn',
'(click)'='onRemClick()'
)
span
span.im.im-delete
span   Delete

button.stick.br(
mat-mini-fab='',
color='warn',
*ngIf='remBtn',
'(click)'='onRemClick()'
'[matMenuTriggerFor]'="menu"
)
span.im.im-delete
span.im.im-th-menu

button.stick.bl(
mat-mini-fab='',
Expand Down

0 comments on commit 3801783

Please sign in to comment.