File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change @@ -4666,9 +4666,15 @@ void drawEvtsActive()
4666
4666
uint32_t Color = 0xFFFFFFFF ;
4667
4667
uint8_t Alpha = 0xFF ;
4668
4668
int32_t PosX = -232 ;
4669
- int32_t PosY = 40 ;
4669
+ int32_t PosY = 60 ;
4670
4670
float Scale = 0.65 ;
4671
4671
4672
+ // Move the text down if the effs display is active
4673
+ if (Displays[EFFS_ACTIVE])
4674
+ {
4675
+ PosY -= 20 ;
4676
+ }
4677
+
4672
4678
// Get the total amount of evts active
4673
4679
ttyd::evtmgr::EvtWork *EvtWrk = ttyd::evtmgr::evtGetWork ();
4674
4680
int32_t MaxEntries = EvtWrk->entryCount ;
@@ -4774,9 +4780,21 @@ void drawMemoryUsage()
4774
4780
uint32_t Color = 0xFFFFFFFF ;
4775
4781
uint8_t Alpha = 0xFF ;
4776
4782
int32_t PosX = -232 ;
4777
- int32_t PosY = 20 ;
4783
+ int32_t PosY = 60 ;
4778
4784
float Scale = 0.6 ;
4779
4785
4786
+ // Move the text down if the effs display is active
4787
+ if (Displays[EFFS_ACTIVE])
4788
+ {
4789
+ PosY -= 20 ;
4790
+ }
4791
+
4792
+ // Move the text down if the evts display is active
4793
+ if (Displays[EVTS_ACTIVE])
4794
+ {
4795
+ PosY -= 20 ;
4796
+ }
4797
+
4780
4798
char **tempMemoryUsageBuffer = HeapInfo.MemoryUsageBuffer ;
4781
4799
bool *DisplayHeapInfo = HeapInfo.DisplayHeapInfo ;
4782
4800
You can’t perform that action at this time.
0 commit comments