mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-25 06:05:52 +02:00
Revert codestyle changes (#40)
* Revert "7f7efbb94bab8574e42d942ad82d414e007b2970" Code style changes should probably be part of a PR
This commit is contained in:
@@ -5,26 +5,26 @@ import { CM_SIZE } from '../../../common/constants';
|
||||
import { faTrash, faEraser, faPaintBrush, faEyeDropper } from '../../../client/icons';
|
||||
|
||||
export interface ButtMarkEditorState {
|
||||
brushType: string;
|
||||
brush: string;
|
||||
brushType: string;
|
||||
brush: string;
|
||||
}
|
||||
|
||||
@Component({
|
||||
selector: 'butt-mark-editor',
|
||||
templateUrl: 'butt-mark-editor.pug',
|
||||
selector: 'butt-mark-editor',
|
||||
templateUrl: 'butt-mark-editor.pug',
|
||||
})
|
||||
export class ButtMarkEditor {
|
||||
readonly trashIcon = faTrash;
|
||||
readonly eraserIcon = faEraser;
|
||||
readonly eyeDropperIcon = faEyeDropper;
|
||||
readonly paintBrushIcon = faPaintBrush;
|
||||
readonly cmSize = CM_SIZE;
|
||||
@Input() info!: PonyInfo;
|
||||
@Input() state = {
|
||||
brushType: 'brush',
|
||||
brush: 'orange',
|
||||
};
|
||||
clearCM() {
|
||||
fill(this.info.cm!, '');
|
||||
}
|
||||
readonly trashIcon = faTrash;
|
||||
readonly eraserIcon = faEraser;
|
||||
readonly eyeDropperIcon = faEyeDropper;
|
||||
readonly paintBrushIcon = faPaintBrush;
|
||||
readonly cmSize = CM_SIZE;
|
||||
@Input() info!: PonyInfo;
|
||||
@Input() state = {
|
||||
brushType: 'brush',
|
||||
brush: 'orange',
|
||||
};
|
||||
clearCM() {
|
||||
fill(this.info.cm!, '');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user