From 51b8ae279a82281d8f3cc61a837474623fa8f752 Mon Sep 17 00:00:00 2001 From: Kira Dmitrieva <71787194+kiruma524@users.noreply.github.com> Date: Sun, 22 Aug 2021 14:56:31 +0300 Subject: [PATCH] pre-change of README.md --- docs/inheritance.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/inheritance.md b/docs/inheritance.md index d57bed71..88dc85b8 100644 --- a/docs/inheritance.md +++ b/docs/inheritance.md @@ -2,18 +2,20 @@ Inheritance is an ability of an element to transfer a pack of properties to its `children` elements 'wrapped inside'. - +`VisionBase` Properties have to be set in a specific order: ### Main properties' inheritance: -* styles +* styles - `StyleSheet` * parents * parent's styles * defaults + +`SolidReference` As for `prototypes`, this property has to be set after styles, but before parents. So the order will be this: ### Reference properties' inheritance: * styles -* prototypes +* prototypes - `PrototypeHolder` in `SolidGroup` * parents * parent's styles * defaults