- add Roboto.ttf, just because it was requested
This commit is contained in:
@@ -11,6 +11,7 @@ using Avalonia.Threading;
|
||||
using LeanderShiftPlannerV2.FileIO;
|
||||
using LeanderShiftPlannerV2.Model;
|
||||
using LeanderShiftPlannerV2.Service;
|
||||
using LeanderShiftPlannerV2.Util;
|
||||
using LeanderShiftPlannerV2.View.ErrorView;
|
||||
using LeanderShiftPlannerV2.View.LeanderControls;
|
||||
|
||||
@@ -164,8 +165,11 @@ public partial class LeanderShiftPlannerMainWindow : Window
|
||||
private void ButtonSaveShiftPlans_Click(object? sender, RoutedEventArgs e)
|
||||
{
|
||||
foreach (ShiftPlan shiftPlan in _appService.ShiftPlanService.GetShiftPlans())
|
||||
ShiftPlanIO.ExportShiftPlan(ShiftPlanIO.GenerateShiftPlanPng(shiftPlan),
|
||||
_appService.ShiftPlanService.GetNextID());
|
||||
{
|
||||
int currentId = _appService.ShiftPlanService.GetNextID();
|
||||
ShiftPlanIO.ExportShiftPlan(ShiftPlanIO.GenerateShiftPlanPng(shiftPlan, Constants.FontEmblem), currentId, Constants.FontEmblem);
|
||||
ShiftPlanIO.ExportShiftPlan(ShiftPlanIO.GenerateShiftPlanPng(shiftPlan ,Constants.FontRoboto), currentId, Constants.FontRoboto);
|
||||
}
|
||||
}
|
||||
|
||||
private void ButtonStartCalculation_Click(object? sender, RoutedEventArgs e)
|
||||
|
||||
Reference in New Issue
Block a user