Skip to content

Commit

Permalink
added project image
Browse files Browse the repository at this point in the history
  • Loading branch information
chinonso098 committed Sep 4, 2024
1 parent 2ad8f7f commit 91af6cd
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CheetahOs

![alt text](https://1drv.ms/i/s!AtWzXoFpw0GGgoU2o4CBTDOT0XS0zw?e=yZ3IBj)

Building a Dektop environment in the web browser

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 18.0.0.
Expand Down
2 changes: 1 addition & 1 deletion src/app/system-apps/filemanager/filemanager.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<li *ngFor="let file of files; let i = index">
<button (dblclick)="runProcess(file)" (mouseenter)="onMouseEnter(i)" (mouseleave)="onMouseLeave(i)"
ngDraggable [bounds]="myBounds" [inBounds]="true" [gridSize]="gridSize" zIndex="1" [preventDefaultEvent]="true"
(stopped)="onDragEnd($event)"
(stopped)="onDragEnd($event)" (started)="onDragStart($event)"
(contextmenu)="onShowIconContextMenu($event, file, i)" (click)="onBtnClick(i)"
id="iconBtn{{i}}" [style]="btnStyle">
<figure>
Expand Down
4 changes: 4 additions & 0 deletions src/app/system-apps/filemanager/filemanager.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,10 @@ export class FileManagerComponent implements BaseComponent, OnInit, AfterViewIni
console.log('TODO:FileManagerComponent, Upgrade the basic state tracking/management logic:',transform);
}

onDragStart(evt:any):void{
//
}

onMouseEnter(id:number):void{
this.setBtnStyle(id, true);
}
Expand Down

0 comments on commit 91af6cd

Please sign in to comment.