Skip to content

Commit

Permalink
Rename 'cursor' to more understandable name 'pointer edge'
Browse files Browse the repository at this point in the history
  • Loading branch information
adiletelf committed Sep 23, 2024
1 parent 237fe57 commit b8b4e04
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
}
}
},
"cursor": {
"pointerEdge": {
"properties": {
"show": {
"type": {
Expand Down
14 changes: 7 additions & 7 deletions src/timeLineSettingsModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class TextSizeDefaults {
public static readonly Max: number = 40;
}

class CursorSettingsCard extends Card {
class PointerEdgeSettingsCard extends Card {
show = new formattingSettings.ToggleSwitch({
name: "show",
displayName: "Show",
Expand All @@ -66,15 +66,15 @@ class CursorSettingsCard extends Card {

color = new formattingSettings.ColorPicker({
name: "color",
displayName: "Cursor color",
displayNameKey: "Visual_CursorColor",
displayName: "Color",
displayNameKey: "Visual_Color",
value: { value: "#808080" },
});

topLevelSlice = this.show;
name: string = "cursor";
displayName: string = "Cursor";
displayNameKey: string = "Visual_Cursor";
name: string = "pointerEdge";
displayName: string = "PointerEdge";
displayNameKey: string = "Visual_PointerEdge";
slices = [this.color];
}

Expand Down Expand Up @@ -474,7 +474,7 @@ class ScrollAutoAdjustmentSettingsCard extends Card {


export class TimeLineSettingsModel extends Model {
cursor = new CursorSettingsCard();
cursor = new PointerEdgeSettingsCard();
forceSelection = new ForceSelectionSettingsCard();
weekDay = new WeekDaySettingsCard();
weeksDeterminationStandards = new WeeksDeterminationStandardsSettingsCard();
Expand Down
4 changes: 2 additions & 2 deletions stringResources/en-US/resources.resjson
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
"Visual_Cell_StrokeWidth": "Stroke width",
"Visual_Cell_GapWidth": "Gap width",
"Visual_Granularity": "Granularity",
"Visual_Color": "Color",
"Visual_ScaleColor": "Scale color",
"Visual_SliderColor": "Slider color",
"Visual_Granularity_Year": "Year",
Expand All @@ -62,8 +63,7 @@
"Visual_DisplayMonths": "Display months",
"Visual_DisplayWeeks": "Display weeks",
"Visual_DisplayDays": "Display days",
"Visual_Cursor": "Cursor",
"Visual_CursorColor": "Cursor color",
"Visual_PointerEdge": "Pointer edge",
"Visual_ForceSelection": "Force selection",
"Visual_CurrentPeriod": "Current period",
"Visual_LatestAvailableDate": "Latest available period",
Expand Down

0 comments on commit b8b4e04

Please sign in to comment.