Merge pull request #5275 from FinnStutzenstein/default169projector
Changed the default projector aspect ratio to 16:9 on initial databas…
This commit is contained in:
commit
cd3435064c
@ -257,7 +257,7 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name="projector",
|
model_name="projector",
|
||||||
name="height",
|
name="height",
|
||||||
field=models.PositiveIntegerField(default=915),
|
field=models.PositiveIntegerField(default=675),
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name="projector",
|
model_name="projector",
|
||||||
@ -267,7 +267,7 @@ class Migration(migrations.Migration):
|
|||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name="projector",
|
model_name="projector",
|
||||||
name="width",
|
name="width",
|
||||||
field=models.PositiveIntegerField(default=1220),
|
field=models.PositiveIntegerField(default=1200),
|
||||||
),
|
),
|
||||||
migrations.AddField(
|
migrations.AddField(
|
||||||
model_name="projectiondefault",
|
model_name="projectiondefault",
|
||||||
|
@ -83,7 +83,7 @@ class Projector(RESTModelMixin, models.Model):
|
|||||||
scale = models.IntegerField(default=0)
|
scale = models.IntegerField(default=0)
|
||||||
scroll = models.IntegerField(default=0)
|
scroll = models.IntegerField(default=0)
|
||||||
|
|
||||||
width = models.PositiveIntegerField(default=1024)
|
width = models.PositiveIntegerField(default=1200)
|
||||||
aspect_ratio_numerator = models.PositiveIntegerField(default=16)
|
aspect_ratio_numerator = models.PositiveIntegerField(default=16)
|
||||||
aspect_ratio_denominator = models.PositiveIntegerField(default=9)
|
aspect_ratio_denominator = models.PositiveIntegerField(default=9)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user